diff options
| author | 2024-01-08 03:22:24 -0500 | |
|---|---|---|
| committer | 2024-01-08 03:22:24 -0500 | |
| commit | e949aaf6f6ac93896947d5b736e48e7911926efb (patch) | |
| tree | b73090d78cd83dee0f85b385a25dcf623ac12f2d /gallery_dl/extractor/twitter.py | |
| parent | 4d7a4f1ecef2c96269f3590335d2834ebcdd50bf (diff) | |
New upstream version 1.26.6.upstream/1.26.6
Diffstat (limited to 'gallery_dl/extractor/twitter.py')
| -rw-r--r-- | gallery_dl/extractor/twitter.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gallery_dl/extractor/twitter.py b/gallery_dl/extractor/twitter.py index fdcefdd..aa9ab9f 100644 --- a/gallery_dl/extractor/twitter.py +++ b/gallery_dl/extractor/twitter.py @@ -552,9 +552,11 @@ class TwitterTimelineExtractor(TwitterExtractor): return self.api.user_media if strategy == "tweets": return self.api.user_tweets + if strategy == "media": + return self.api.user_media if strategy == "with_replies": return self.api.user_tweets_and_replies - return self.api.user_media + raise exception.StopExtraction("Invalid strategy '%s'", strategy) class TwitterTweetsExtractor(TwitterExtractor): |
