mikf / gallery-dl

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

[Pixiv] Add the option to download individual posts #466

Closed ghost closed 5 years ago

ghost commented 5 years ago

Right now it puts a 'No suitable extractor found' error when trying to use a post link and not an profile link It would really be usefull when you need to download a single post with 50+ images in it, and since pixiv already have a downloader it doesn't require making the downloader entirely

mikf commented 5 years ago

A post link like https://www.pixiv.net/artworks/966412 and its older version work quite fine:

$ gallery-dl https://www.pixiv.net/artworks/966412
/tmp/pixiv/173530/pixiv_173530_966412.png

$ gallery-dl "https://www.pixiv.net/member_illust.php?mode=medium&illust_id=966412"
/tmp/pixiv/173530/pixiv_173530_966412.png

What URL are you trying to use as input?

ghost commented 5 years ago

i used urls like those https://www.pixiv.net/en/artworks/72351262 but even when trying the url you sent it still gave the no suitable extrator found error :/

ghost commented 5 years ago

i tried updating to the dev latest and it fixed it somehow, sorry for the inconvenience 'o-o

mikf commented 5 years ago

Weird, /artworks/ URLs get matched since https://github.com/mikf/gallery-dl/commit/22bac144522957930b307fa4fadae89ea3f9d966, which is in version 1.10.5 or the current 1.10.6, but you got it working for you, so it's all OK, I guess.