summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/nitter.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/nitter.py')
-rw-r--r--gallery_dl/extractor/nitter.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gallery_dl/extractor/nitter.py b/gallery_dl/extractor/nitter.py
index d36f509..2bce597 100644
--- a/gallery_dl/extractor/nitter.py
+++ b/gallery_dl/extractor/nitter.py
@@ -219,7 +219,10 @@ class NitterExtractor(BaseExtractor):
self.user_obj = self._user_from_html(tweets_html[0])
for html, quote in map(self._extract_quote, tweets_html[1:]):
- yield self._tweet_from_html(html)
+ tweet = self._tweet_from_html(html)
+ if not tweet["date"]:
+ continue
+ yield tweet
if quoted and quote:
yield self._tweet_from_quote(quote)