We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
running following code will output error
from gallery_dl.job import DataJob job = DataJob('https://pbs.twimg.com/media/EpeD5KqVoAAeJTC.jpg') job.run() print(job.data)
output
[ [ "TypeError", "_image_fallback() missing 1 required positional argument: 'base'" ] ]
this is caused by this line
gallery-dl/gallery_dl/extractor/twitter.py
Line 598 in 2076d40
possible solution
self._size_fallback = ("large", "medium", "small") data = { "filename": self.id, "extension": self.fmt, "_fallback": TwitterExtractor._image_fallback(self, base), }
e: or
def _image_fallback(self, base): for fmt in getattr(self, "_size_fallback", []): yield base + fmt
The text was updated successfully, but these errors were encountered:
ab8eea1
No branches or pull requests
running following code will output error
output
this is caused by this line
gallery-dl/gallery_dl/extractor/twitter.py
Line 598 in 2076d40
possible solution
e: or
The text was updated successfully, but these errors were encountered: