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

[Twitter] No suitable extractor found for pbs.twimg.com #1417

Closed
rEnr3n opened this issue Mar 30, 2021 · 3 comments
Closed

[Twitter] No suitable extractor found for pbs.twimg.com #1417

rEnr3n opened this issue Mar 30, 2021 · 3 comments

Comments

@rEnr3n
Copy link

rEnr3n commented Mar 30, 2021

$ gallery-dl -v https://pbs.twimg.com/media/EqcpviCVoAAG-QG?format=jpg&name=orig
[gallery-dl][debug] Version 1.17.2-dev
[gallery-dl][debug] Python 3.9.2 - Linux-5.11.10-arch1-1-x86_64-with-glibc2.33
[gallery-dl][debug] requests 2.25.1 - urllib3 1.26.4
[gallery-dl][debug] Starting DownloadJob for 'https://pbs.twimg.com/media/EqcpviCVoAAG-QG?format=jpg'
[gallery-dl][error] No suitable extractor found for 'https://pbs.twimg.com/media/EqcpviCVoAAG-QG?format=jpg'

I remember being able to do this a long time (months) ago.

@Hrxn
Copy link
Contributor

Hrxn commented Mar 31, 2021

  1. That is not a valid Twitter URL
  2. This is a direct link for statically served images from Twitter, so you can simply use curl (or wget etc.) to download this

@mikf
Copy link
Owner

mikf commented Apr 1, 2021

This worked previously when Twitter was using a different URL format for image files, which gallery-dl recognized as direct link (https://pbs.twimg.com/media/EqcpviCVoAAG-QG.jpg).
These don't get the best quality though (missing :orig), and you shouldn't be using gallery-dl as general purpose downloader anyway.

@rEnr3n
Copy link
Author

rEnr3n commented Apr 1, 2021

The parameter name=orig is the same as :orig. I was more interested in the metadata. Direct links from reddit are supported. Why not this?

$ gallery-dl -K --ignore-config https://i.redd.it/ui6fb8dsljq61.jpg                       
Keywords for directory names:
-----------------------------
category
  reddit
extension
  jpg
filename
  ui6fb8dsljq61
subcategory
  image

Keywords for filenames and --filter:
------------------------------------
category
  reddit
extension
  jpg
filename
  ui6fb8dsljq61
subcategory
  image

@mikf mikf closed this as completed in 105f3c9 Apr 2, 2021
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

3 participants