diff --git a/gallery_dl/extractor/twitter.py b/gallery_dl/extractor/twitter.py index 6aeffd09ec..5c6b3bf01a 100644 --- a/gallery_dl/extractor/twitter.py +++ b/gallery_dl/extractor/twitter.py @@ -466,10 +466,7 @@ def tweets(self): if not self.textonly: # try to search for media-only tweets tweet = None - for tweet in self.api.search_adaptive(query + ( - " (filter:images OR" - " filter:native_video OR" - " card_name:animated_gif)")): + for tweet in self.api.search_adaptive(query + " filter:links"): yield tweet if tweet is not None: return