mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 19:52:11 +00:00
[myvidster] Enforce age limit in test
This commit is contained in:
parent
6219802165
commit
39c52bbd32
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue