Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flickr metadata doesn’t include license information? #4227

Closed
manu-cyber opened this issue Jun 24, 2023 · 3 comments
Closed

Flickr metadata doesn’t include license information? #4227

manu-cyber opened this issue Jun 24, 2023 · 3 comments

Comments

@manu-cyber
Copy link

manu-cyber commented Jun 24, 2023

I’m wondering why the metadata json file does not include the license information displayed on the picture’s page. Is it scraped for another source? Is flickr unique in providing that information compared to other galeries?

If it’s just a matter of implementation, where would I have to look in order to add this information? :)

@mikf
Copy link
Owner

mikf commented Jun 25, 2023

For Flickr, all data is gotten from its API.
To get more metadata like license, you can add its name to the entries here

params["extras"] = ("description,date_upload,tags,views,media,"
"path_alias,owner_name,")

mikf added a commit that referenced this issue Jun 27, 2023
@manu-cyber
Copy link
Author

I just took a look at your commit and I would have taken ages for that, thank you so much ^^

Also, am I right in assuming I would need a flickr account for developing, since I seem to require an API token?

@mikf
Copy link
Owner

mikf commented Jun 30, 2023

This code is just an adjusted copy-paste of the same concept for Danbooru, so it wasn't nearly as complicated as it might appear.

Regarding API tokens, gallery-dl has a built-in one for Flickr which I registered a couple years ago on a free account.

@mikf mikf closed this as completed Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants