Skip to content

Commit

Permalink
[twitter] unescape content (#2756) (#2757)
Browse files Browse the repository at this point in the history
Fixes #2756
  • Loading branch information
the-blank-x authored Jul 13, 2022
1 parent 62cc477 commit 836402b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gallery_dl/extractor/twitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def _transform_tweet(self, tweet):
"nick": u["name"],
} for u in mentions]

content = tget("full_text") or tget("text") or ""
content = text.unescape(tget("full_text") or tget("text") or "")
urls = entities.get("urls")
if urls:
for url in urls:
Expand Down

0 comments on commit 836402b

Please sign in to comment.