diff options
-rw-r--r-- | README.md | 4 | ||||
-rwxr-xr-x | plugins/mangatown.py | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,5 @@ # AutoMedia -Automatically track new releases of media and download them. Currently works with rss for torrent sites (`nyaa.si`) and a for these manga sites: `manganelo.com`, `manganelos.com`, `mangatown.com`, `mangakakalot.com`, `mangakatana.com`, `lhtranslation.net`, `readm.org`, `mangaplus.shueisha.co.jp` and `mangadex.org`. +Automatically track new releases of media and download them. Currently works with rss for torrent sites (`nyaa.si`) and for these manga sites: `manganelo.com`, `manganelos.com`, `mangatown.com`, `mangakakalot.com`, `mangakatana.com`, `lhtranslation.net`, `readm.org`, `mangaplus.shueisha.co.jp` and `mangadex.org`. A notification is shown on the screen when a download finishes (if notify-send is installed). ## Installation @@ -14,6 +14,8 @@ It is recommended to create a new directory specifically for automedia sync, oth Run automedia without any options to see all options. If `$HOME/.config/automedia/download_finished.sh` exists then it's called when a download finishes. The first argument is either `html` or `rss` and the second argument is the full path to the rss file (anime episode video) or html directory (manga chapter). + +An easy way to track manga is to use [QuickMedia](https://git.dec05eba.com/QuickMedia/about/) and pressing `Ctrl+T` in any of the manga plugins when selecting a manga and chapter. # Requirements ## System curl, transmission-cli, notify-send (optional) diff --git a/plugins/mangatown.py b/plugins/mangatown.py index 29a58ab..fe000f9 100755 --- a/plugins/mangatown.py +++ b/plugins/mangatown.py @@ -9,7 +9,8 @@ import json from lxml import etree headers = { - 'User-Agent': "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + 'User-Agent': "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36", + 'Referer': "https://www.mangatown.com/" } def usage(): |