mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 18:41:29 +00:00
[naver] Update tests for #11743
This commit is contained in:
parent
c0bd51c090
commit
8a5f0a6357
|
@ -15,7 +15,7 @@ class NaverIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://(?:m\.)?tv(?:cast)?\.naver\.com/v/(?P<id>\d+)'
|
_VALID_URL = r'https?://(?:m\.)?tv(?:cast)?\.naver\.com/v/(?P<id>\d+)'
|
||||||
|
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'http://tvcast.naver.com/v/81652',
|
'url': 'http://tv.naver.com/v/81652',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '81652',
|
'id': '81652',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
|
@ -24,7 +24,7 @@ class NaverIE(InfoExtractor):
|
||||||
'upload_date': '20130903',
|
'upload_date': '20130903',
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
'url': 'http://tvcast.naver.com/v/395837',
|
'url': 'http://tv.naver.com/v/395837',
|
||||||
'md5': '638ed4c12012c458fefcddfd01f173cd',
|
'md5': '638ed4c12012c458fefcddfd01f173cd',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '395837',
|
'id': '395837',
|
||||||
|
@ -34,6 +34,9 @@ class NaverIE(InfoExtractor):
|
||||||
'upload_date': '20150519',
|
'upload_date': '20150519',
|
||||||
},
|
},
|
||||||
'skip': 'Georestricted',
|
'skip': 'Georestricted',
|
||||||
|
}, {
|
||||||
|
'url': 'http://tvcast.naver.com/v/81652',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
|
Loading…
Reference in a new issue