mikf / gallery-dl

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

[site support request] pixiv sketch #1497

Closed thatfuckingbird closed 2 years ago

thatfuckingbird commented 3 years ago

Example URL (somewhat nsfw warning): https://sketch.pixiv.net/@kitaharakobo

Looking at how PixivUtil2 does it might be helpful for this.

(I plan to do this myself eventually if there no takers, but don't let that hold you back.)

mikf commented 3 years ago

Finally, after half a year, there's now an extractor for pixiv sketch (https://github.com/mikf/gallery-dl/commit/e33125ad39b2737f3372639e72da2d3b45266886).

This is for now part of the regular pixiv module and category, although it doesn't really use any of the code for other pixiv extractors. Maybe it should be put into its own module? To configure it, options need to be placed inside a sketch block inside the pixiv block:

    "pixiv": {
        "filename": "regular pixiv filename",

        "sketch": {
            "filename": "sketch filename"
        }
    }

It also needs authenticated cookies to grab r18/nsfw works.