mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 03:10:38 +00:00
[myvidster] Enforce age limit in test
This commit is contained in:
parent
6219802165
commit
39c52bbd32
@ -4,7 +4,7 @@ from .common import InfoExtractor
|
|||||||
|
|
||||||
|
|
||||||
class MyVidsterIE(InfoExtractor):
|
class MyVidsterIE(InfoExtractor):
|
||||||
_VALID_URL = r'http://(?:www\.)?myvidster\.com/video/(?P<id>\d+)/.*$'
|
_VALID_URL = r'http://(?:www\.)?myvidster\.com/video/(?P<id>\d+)/'
|
||||||
|
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'http://www.myvidster.com/video/32059805/Hot_chemistry_with_raw_love_making',
|
'url': 'http://www.myvidster.com/video/32059805/Hot_chemistry_with_raw_love_making',
|
||||||
@ -15,6 +15,7 @@ class MyVidsterIE(InfoExtractor):
|
|||||||
'upload_date': '20141027',
|
'upload_date': '20141027',
|
||||||
'uploader_id': 'utkualp',
|
'uploader_id': 'utkualp',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
|
'age_limit': 18,
|
||||||
},
|
},
|
||||||
'add_ie': ['XHamster'],
|
'add_ie': ['XHamster'],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user