mikeizbicki / ucr-cs100

open source software construction course
Other
485 stars 407 forks source link

HW4 Topic - Manga Tracker #973

Closed svtanthony closed 9 years ago

svtanthony commented 9 years ago

Bash script based manga tracker.

Purpose

I like to read manga, but dislike that some websites update faster than others which would require that I search multiple sites to find the a new release or wait. The solution is to wait, search various sites or automate that process. I dislike waiting and having limited time, so I'd rather read manga than search for it, leaving automation as a solution. I want to create this automation using the UNIX philosophy where you combine simple tools to create something complicated. As such my implementation will be done in BASH scripting, I would reference the student that is working on the bash shell cheat sheet (issue #957) where appropriate. I also want others to benefit from my work, whether though knowledge or simply by having a useful tool.

Features

mikeizbicki commented 9 years ago

Sounds great. Is there a specific format (e.g. RSS, XML) that Manga sources normally use? If so, this seems like a straightforward implementation of an RSS reader in bash, which is awesome. If not, this seems like it could be rather difficult.

mikeizbicki commented 9 years ago

By the next deadline, I would expect you to be able to download and parse the contents of at least one source. The interface and timing features can wait until after that's done.

svtanthony commented 9 years ago

The sites I am considering would required html parsing, only one had an RSS feed. As most sites hosting manga have the latest episode in the top of the page I could extract it with some regular expressions and piping to head. On Feb 11, 2015 2:47 PM, "Mike Izbicki" notifications@github.com wrote:

Sounds great. Is there a specific format (e.g. RSS, XML) that Manga sources normally use? If so, this seems like a straightforward implementation of an RSS reader in bash, which is awesome. If not, this seems like it could be rather difficult.

— Reply to this email directly or view it on GitHub https://github.com/mikeizbicki/ucr-cs100/issues/973#issuecomment-73981819 .

mikeizbicki commented 9 years ago

Okay. This will be a relatively hard project since they don't use a standard format. But if you're confident, then I'll approve it!

svtanthony commented 9 years ago

Thanks. On Feb 11, 2015 3:02 PM, "Mike Izbicki" notifications@github.com wrote:

Okay. This will be a relatively hard project since they don't use a standard format. But if you're confident, then I'll approve it!

— Reply to this email directly or view it on GitHub https://github.com/mikeizbicki/ucr-cs100/issues/973#issuecomment-73984164 .

svtanthony commented 9 years ago

Here is my github repository with the milestones requested. https://github.com/svtanthony/manga-tracker.git

download images download.sh works with mangapanda and is called by giving the url of the first page page to parse ex "./download http://www.mangapanda.com/fuuka/51"

check for updates updates.sh works with the files containing links to a website and users, Links and Contact respectively. this just script just needs to be called and will be set up to run through crontab

svtanthony commented 9 years ago

I have incorporated all the suggestions to this project. If there's any further changes required please let me know.

Changes include: