websiteWatcher

I'm too lazy to go to my profs site, so I wrote this instead.

websiteWatcher

Program that checks if my prof modified her personal site to add new assignments. If she's put up a new entry, it'll check the format of the assignment, then create a file that's stored in notebooks/:

  • if it's a pdf, program runs a subprocess call to download it (through wget)
  • if it's html, program will parse the html and convert parsed text to a .txt.

Usage

I guess you can change the URL to one you want and take out the notebook stuff? You'd then run this:

shards install   # you'll need myhtml
crystal run src/websiteWatcher.cr

Contributing

  1. Fork it (https://github.com/your-github-user/websiteWatcher/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
Repository

websiteWatcher

Owner
Statistic
  • 1
  • 0
  • 0
  • 0
  • 1
  • almost 5 years ago
  • May 17, 2019
License

Links
Synced at

Sat, 27 Apr 2024 08:23:38 GMT

Languages