mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.56k stars 949 forks source link

is there a way to force a specific module? #3097

Closed ash9120 closed 1 year ago

ash9120 commented 1 year ago

Greetings. Ive noticied now when i tried to download mangas that the sites keep changing their names constantly. For instance, mangakalot changed to chapmanganato.com, and mangastream.com changed to mangastream.mobi. Unfortunatelly this also means that the extractor doesnt recognize the site anymore, so i guess there is some command i dont know about that forces the script to use an specific extractor even if the site isnt listed?

mikf commented 1 year ago

There is no such functionality except for a few exceptions and manga sites like mangakakalot are not among them. Forcing a specific module/extractor would generally not work with how the internals are structured.

chapmanganato.com does now get recognized with the changes in https://github.com/mikf/gallery-dl/commit/f4d06e51800e0d6b0b02b7f26946fcd05ce6c058

mangastream.mobi is an entirely different site than what the original mangastream.com was and has most likely no relation to it whatsoever. mangastream support got removed in early 2021 after the site was offline for a few months, by the way. (fcdda6128cab9b61b19cc25d052d3e7d02f845d0)

ash9120 commented 1 year ago

Thanks for the quick reply and i would also like to personally thank you for this amazing project.

Ive runned pip3 install --upgrade gallery-dl and chapmanganato wasnt recognized, am i doing something wrong or i should wait some days till it make to the stable version?

mikf commented 1 year ago

stable releases only happen every few weeks, so you might want to do

pip3 install -U -I --no-deps --no-cache-dir https://github.com/mikf/gallery-dl/archive/master.tar.gz

to install from master.

Another option would be to manually replace chapmanganato with the former readmanganato in URLs

ash9120 commented 1 year ago

Sorry for bringing this up again, but it happened again; bunkr.su changed to bunkr.la and now the modules doesnt work. Isnt there some simple way to deal with these cases?