[twitter] extract 'type' metadata (#6111)

This commit is contained in:
Mike Fährmann
2024-08-31 12:47:44 +02:00
parent 8eaae29bf9
commit ef8b1bc56e
2 changed files with 9 additions and 0 deletions

View File

@@ -319,6 +319,8 @@ __tests__ = (
"#category": ("", "twitter", "tweet"),
"#class" : twitter.TwitterTweetExtractor,
"#sha1_url": "3a2a43dc5fb79dd5432c701d8e55e87c4e551f47",
"type": "photo",
},
{
@@ -327,6 +329,8 @@ __tests__ = (
"#category": ("", "twitter", "tweet"),
"#class" : twitter.TwitterTweetExtractor,
"#pattern" : r"https://video.twimg.com/ext_tw_video/.+\.mp4\?tag=5",
"type": "video",
},
{
@@ -587,6 +591,7 @@ Youll be able to receive four Galarian form Pokémon with Hidden Abilities, p
"#class" : twitter.TwitterTweetExtractor,
"description": "oc",
"type" : "photo",
},
{