Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rameerez authored Jun 28, 2024
1 parent dd546c1 commit 5de18bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gallery_dl/extractor/twitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ def _transform_tweet(self, tweet):
"reply_count" : tget("reply_count"),
"retweet_count" : tget("retweet_count"),
"bookmark_count": tget("bookmark_count"),
"view_count" : text.parse_int(tweet.get("views", {}).get("count")),
"view_count" : text.parse_int(
tweet.get("views", {}).get("count")),
}

if "note_tweet" in tweet:
Expand Down

0 comments on commit 5de18bb

Please sign in to comment.