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

Question _ flickr _ Is it possible to find out flickr uploader's user name based on file name of a saved image from flickr? #4406

Closed
GotoConsol opened this issue Aug 9, 2023 · 12 comments

Comments

@GotoConsol
Copy link

Is it possible to find out flickr uploader's user name based on file name of a saved image from flickr?

for example:

4494287087_c746a9d4c1_b

and without net browser history

Thanks

@mikf
Copy link
Owner

mikf commented Aug 9, 2023

You can use the photo ID, 4494287087 in your example's case, and query flickr for its information

$ gallery-dl -j https://www.flickr.com/photos/_/4494287087
...
      "owner": {
        "gift": {
          "eligible_durations": [
            "year",
            "month",
            "week"
          ],
          "gift_eligible": true,
          "new_flow": true
        },
        "iconfarm": 3,
        "iconserver": "2505",
        "location": "in my home",
        "nsid": "46548580@N05",
        "path_alias": "ab360gradi",
        "realname": "Annibale Barone",
        "username": "annibale barone"
      },

@GotoConsol
Copy link
Author

Ok, thanks

and how to use this?
how to call this in cmd?

@Hrxn
Copy link
Contributor

Hrxn commented Aug 9, 2023

Huh?
What do you mean?
See the example above on how to use this.

@GotoConsol
Copy link
Author

those lines should be in config file or where?

@Hrxn
Copy link
Contributor

Hrxn commented Aug 9, 2023

No, simply run gallery-dl -j https://www.flickr.com/photos/_/<YOUR_PHOTO_ID_HERE> on the command-line..

@GotoConsol
Copy link
Author

GotoConsol commented Aug 9, 2023

ok when done only I could see in response is:

[ ]

where does the output go?
I can't get any of these:

      "owner": {
        "gift": {
          "eligible_durations": [
            "year",
            "month",
            "week"
          ],
          "gift_eligible": true,
          "new_flow": true
        },
        "iconfarm": 3,
        "iconserver": "2505",
        "location": "in my home",
        "nsid": "46548580@N05",
        "path_alias": "ab360gradi",
        "realname": "Annibale Barone",
        "username": "annibale barone"
      },

@Hrxn
Copy link
Contributor

Hrxn commented Aug 9, 2023

Your response is empty?
Can you post the full output with --verbose, then?

Here's what I see:
gh

@GotoConsol
Copy link
Author

Here it is:


C:\New folder\gallery-dl>gallery-dl --verbose -j https://www.flickr.com/photos/_
/4494287087
[gallery-dl][debug] Version 1.25.5 - Executable
[gallery-dl][debug] Python 3.8.10 - Windows-7-6.1.7601-SP1
[gallery-dl][debug] requests 2.28.2 - urllib3 1.26.15
[gallery-dl][debug] Configuration Files ['%USERPROFILE%\\gallery-dl.conf']
[gallery-dl][debug] Starting DataJob for 'https://www.flickr.com/photos/_/449428
7087'
[flickr][debug] Using default OAuth1.0 authentication
[flickr][debug] Using FlickrImageExtractor for 'https://www.flickr.com/photos/_/
4494287087'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): api.flickr.co
m:443
[urllib3.connectionpool][debug] https://api.flickr.com:443 "GET /services/rest/?
photo_id=4494287087&method=flickr.photos.getInfo&format=json&nojsoncallback=1 HT
TP/1.1" 200 72
[flickr][debug] Server response: {'stat': 'fail', 'code': 100, 'message': 'Inval
id API Key (Key has expired)'}
[]

C:\New folder\gallery-dl>

@Hrxn
Copy link
Contributor

Hrxn commented Aug 9, 2023

You are using the default API key, which is not working at the moment.

[flickr][debug] Using default OAuth1.0 authentication

Better to use your own API key.
Do it like this..

@GotoConsol
Copy link
Author

Ok, thanks

flickr is back online

@Hrxn
Copy link
Contributor

Hrxn commented Aug 9, 2023

Okay, so this can be closed, I presume?

@GotoConsol
Copy link
Author

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants