mansuf / mangadex-downloader

A command-line tool to download manga from MangaDex, written in Python.
https://mangadex-dl.mansuf.link/
MIT License
529 stars 44 forks source link

Add a option to automatic download new ongoing chapter #101

Closed GeekLuffy closed 3 months ago

GeekLuffy commented 8 months ago

The idea

Add a option to automatic download new ongoing chapter

Why this feature should be added to the app ?

It could be a great thing

Treast commented 7 months ago

That would be great, with a way to notify when a new chapter is downloaded (Discord webhook, Telegram...)

mansuf commented 6 months ago

Can i ask what type of automatic did you mean ?

Like for example in Linux you can create cron job (On windows is called Task Scheduler) for mangadex-downloader and it will automatically run the application based on specific configurations.

Or did you mean you wanna suggest an option that can run indefinitely ?

GeekLuffy commented 6 months ago

i mean like rss feeds like we subscribe a manga then it will automatically download new chapter of it as soon as it release i will be a great help

mansuf commented 6 months ago

Unfortunately, MangaDex doesn't provide RSS feeds anymore, so the only option is run indefinitely or create job schedule in cron (Linux) or Task Scheduler (Windows), i have no idea what's job scheduler app in Mac OS.

Run indefinitely is basically give multiple urls or single url to mangadex-downloader and the application will periodically check if there is new chapters and if there is new chapters it will try to download it. The application will run forever and stays in loop untill you shut it down manually (or the app is crashing).

GeekLuffy commented 6 months ago

So can you make something so it will be able to download mangaplus chapters also

mansuf commented 6 months ago

So can you make something so it will be able to download mangaplus chapters also

I have talked about it, you can see it here https://github.com/mansuf/mangadex-downloader/issues/90#issuecomment-1740221701

Spoiler alert The answer is no
mansuf commented 3 months ago

Hello, This feature has been added in commit https://github.com/mansuf/mangadex-downloader/commit/725dd7fffa11103b2680b6adb9921c1878cdd300. You can test it by installing development version.

Installation with Git & Pip:

pip uninstall mangadex-downloader
pip install -U git+https://github.com/mansuf/mangadex-downloader.git@725dd7fffa11103b2680b6adb9921c1878cdd300

Installation from Github Artifact CI (bundled executable):

You can download it from here in "artifacts" section


Usage

mangadex-dl "insert mangadex url here" --run-forever

The application will run forever and have 5 seconds delay before starting download again.

If you have problem or bugs, let me know 👍.

GeekLuffy commented 3 months ago

Thanks Buddy