websiteWatcher
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
- Fork it (https://github.com/your-github-user/websiteWatcher/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Repository
websiteWatcher
Owner
Statistic
- 1
- 0
- 0
- 0
- 1
- over 5 years ago
- May 17, 2019
License
Links
Synced at
Sun, 22 Dec 2024 10:38:42 GMT
Languages