diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-12-04 08:31:55 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-12-04 08:31:55 +0100 |
commit | 39c52bbd32efa5367eae31af59066f045bc7fe7e (patch) | |
tree | 13f448ccaa7abf8945965d2762617e9a93129ae6 /youtube_dl | |
parent | 6219802165d2cda4dd128b06c9435038f43b1145 (diff) |
[myvidster] Enforce age limit in test
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/myvidster.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/myvidster.py b/youtube_dl/extractor/myvidster.py index 7dd36ee46..a94ab8358 100644 --- a/youtube_dl/extractor/myvidster.py +++ b/youtube_dl/extractor/myvidster.py @@ -4,7 +4,7 @@ from .common import 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 = { 'url': 'http://www.myvidster.com/video/32059805/Hot_chemistry_with_raw_love_making', @@ -15,6 +15,7 @@ class MyVidsterIE(InfoExtractor): 'upload_date': '20141027', 'uploader_id': 'utkualp', 'ext': 'mp4', + 'age_limit': 18, }, 'add_ie': ['XHamster'], } |