Description
Project to download the latest manga or an entire series.
Features
get_latest.rb
- Polls http://eatmanga.com/latest/
- User sets list of interested manga in config.yml
- If an entry matches in http://eatmanga.com/latest, then download chapter(s) and email a notification to the user.
- If no entry matches, do nothing and do not send notification.
- Do not re-download chapter if chapter exists in download directory.
get_series.rb
- Source is from http://eatmanga.com
- To download a series,
ruby get_series.rb 'manga_name'
- Do not re-download chapter if chapter exists in download directory.
- Supports partial searching, for example:
ruby get_series.rb shigatsu
Output:
More than 1 result found, please enter a number:
1: Shigatsu No Hina
2: Shigatsu wa Kimi no Uso
2
"23 chapters found, downloading..."
"Shigatsu-wa-Kimi-no-Uso-001 is downloaded."
etc
Usecase
- Set a cronjob to execute get_latest.rb on a hourly basis. (can be adjusted by user)
- This will automatically find the latest manga and download to your local directory.
- Thus, saving the time and effort to manually navigate to the website to check if a chapter has been released.
Dependencies
- ruby 1.9.3 or newer
- mechanize
- gmail (Not required if you don't want email notifications)
Windows Instructions
- Install Ruby here: http://rubyinstaller.org/
- Install Development Kit here: http://rubyinstaller.org/downloads/
- Run
Bundle Install
in /feedupdater directory. - Edit config.yml save_dir to your desired save directory.
- Both scripts can be executed by
Ruby script_name.rb
Windows run get_latest.rb as hidden background task
- Create a powershell script
- In the script, write
Invoke-Expression "ruby $env:C:\Users\JLee\Documents\feedupdater\get_latest.rb"
- Edit the Directory to your own
- Save the script, I named it get_latest.ps1
- Launch Windows Powershell
- Enter
Set-ExecutionPolicy Unrestricted
- Launch Task Scheduler
- Create new task, follow the steps (fairly straightforward)
- When you get to
Edit Action
- In
Program/script
, putC:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
- In
Add arguments
, put-NoProfile -Noninteractive -NoLogo -WindowStyle Hidden C:\Users\JLee\Documents\feedupdater\get_latest.ps1
- Edit the directory to your own
- I set the task to run on a hourly basis.
Support
The bug tracker is available here: