mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-13 23:02:34 +00:00
parent
5770293d25
commit
d8657ff76f
1 changed files with 10 additions and 0 deletions
|
@ -69,6 +69,15 @@ class XFileShareIE(InfoExtractor):
|
||||||
)
|
)
|
||||||
|
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
|
'url': 'https://uqload.com/dltx1wztngdz',
|
||||||
|
'md5': '3cfbb65e4c90e93d7b37bcb65a595557',
|
||||||
|
'info_dict': {
|
||||||
|
'id': 'dltx1wztngdz',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'Rick Astley Never Gonna Give You mp4',
|
||||||
|
'thumbnail': r're:https://.*\.jpg'
|
||||||
|
}
|
||||||
|
}, {
|
||||||
'url': 'http://xvideosharing.com/fq65f94nd2ve',
|
'url': 'http://xvideosharing.com/fq65f94nd2ve',
|
||||||
'md5': '4181f63957e8fe90ac836fa58dc3c8a6',
|
'md5': '4181f63957e8fe90ac836fa58dc3c8a6',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
|
@ -186,4 +195,5 @@ class XFileShareIE(InfoExtractor):
|
||||||
'title': title,
|
'title': title,
|
||||||
'thumbnail': thumbnail,
|
'thumbnail': thumbnail,
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
|
'http_headers': {'Referer': url}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue