mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2026-08-07 22:23:34 +00:00
extractor: twitter: add explicit x.com test cases
This commit is contained in:
parent
787f92ff62
commit
2c4bba455e
|
|
@ -178,6 +178,12 @@ class TwitterCardIE(InfoExtractor):
|
|||
}, {
|
||||
'url': 'https://twitter.com/i/videos/752274308186120192',
|
||||
'only_matching': True,
|
||||
}, {
|
||||
'url': 'https://x.com/i/videos/752274308186120192',
|
||||
'only_matching': True,
|
||||
}, {
|
||||
'url': 'https://mobile.x.com/i/videos/752274308186120192',
|
||||
'only_matching': True,
|
||||
},
|
||||
]
|
||||
|
||||
|
|
@ -427,6 +433,12 @@ class TwitterIE(TwitterBaseIE):
|
|||
# poll4choice_video card
|
||||
'url': 'https://twitter.com/SouthamptonFC/status/1347577658079641604',
|
||||
'only_matching': True,
|
||||
}, {
|
||||
'url': 'https://x.com/SouthamptonFC/status/1347577658079641604',
|
||||
'only_matching': True,
|
||||
}, {
|
||||
'url': 'https://mobile.x.com/SouthamptonFC/status/1347577658079641604',
|
||||
'only_matching': True,
|
||||
}]
|
||||
|
||||
def _real_extract(self, url):
|
||||
|
|
|
|||
Loading…
Reference in a new issue