[myvidster] Enforce age limit in test

This commit is contained in:
Philipp Hagemeister 2014-12-04 08:31:55 +01:00
parent 6219802165
commit 39c52bbd32

View file

@ -4,7 +4,7 @@
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'],
} }