mikf / gallery-dl

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

Does the pixiv part support cookies login? #597

Closed mo-han closed 4 years ago

mo-han commented 4 years ago

Tried with --cookies= option, but seemed unable to login with PHPSESSION.

Hrxn commented 4 years ago

Well, Pixiv requires authentication (with username & password), so I don't know what you are trying to do here in the first place?

Is there anything not working with your attempts at using the Pixiv extractor?

mo-han commented 4 years ago

Well, Pixiv requires authentication (with username & password), so I don't know what you are trying to do here in the first place?

Is there anything not working with your attempts at using the Pixiv extractor?

CAPTCHA

mikf commented 4 years ago

The way gallery-dl logs into Pixiv doesn't involve any Captchas. It uses the App API and OAuth, not the regular Pixiv login page. Did you actually try logging in with username & password through -u and -p?

And to answer your initial question: No, you can't use cookies to authenticate with Pixiv.