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

flickr login #1639

Closed ghost closed 3 years ago

ghost commented 3 years ago

flickr only shows nsfw pictures if you are logged in and your account has nsfw enabled so i have to login to download everything on a profile. when i do so gallery-dl doesnt login and just downloads public non nsfw photos

wankio commented 3 years ago
OAuth

gallery-dl supports user authentication via OAuth for deviantart, flickr, reddit, smugmug, tumblr, and mastodon instances. This is mostly optional, but grants gallery-dl the ability to issue requests on your account's behalf and enables it to access resources which would otherwise be unavailable to a public user.

To link your account to gallery-dl, start by invoking it with oauth:<sitename> as an argument. For example:

$ gallery-dl oauth:flickr

You will be sent to the site's authorization page and asked to grant read access to gallery-dl. Authorize it and you will be shown one or more "tokens", which should be added to your configuration file.

readme end of page

tv0ll commented 3 years ago

I'm still having this issue. Logged in via oauth and I have my credentials listed within my gallery-dl.conf file and am still unable to retrieve any flickr albums or user content that is within the default safe search settings (even with the settings turned off on my account).