[tests] update extractor results

at least some of them
This commit is contained in:
Mike Fährmann
2024-06-01 20:28:04 +02:00
parent 6cfbc1071f
commit 009aa90c3f
11 changed files with 30 additions and 24 deletions

View File

@@ -14,7 +14,7 @@ __tests__ = (
"#category": ("", "twitter", "user"),
"#class" : twitter.TwitterUserExtractor,
"#options" : {"include": "all"},
"#pattern" : r"https://twitter\.com/supernaturepics/(photo|header_photo|timeline|tweets|media|with_replies|likes)$",
"#pattern" : r"https://x\.com/supernaturepics/(photo|header_photo|timeline|tweets|media|with_replies|likes)$",
"#count" : 7,
},
@@ -277,7 +277,7 @@ __tests__ = (
"#category": ("", "twitter", "hashtag"),
"#class" : twitter.TwitterHashtagExtractor,
"#pattern" : twitter.TwitterSearchExtractor.pattern,
"#urls" : "https://twitter.com/search?q=%23nature",
"#urls" : "https://x.com/search?q=%23nature",
},
{
@@ -626,7 +626,7 @@ The Washington Post writes, "Three weeks after the toxic train derailment in Ohi
"#category": ("", "twitter", "quotes"),
"#class" : twitter.TwitterQuotesExtractor,
"#pattern" : twitter.TwitterSearchExtractor.pattern,
"#urls" : "https://twitter.com/search?q=quoted_tweet_id:1263832915173048321",
"#urls" : "https://x.com/search?q=quoted_tweet_id:1263832915173048321",
},
{