[myvidster] Enforce age limit in test
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 4 Dec 2014 07:31:55 +0000 (08:31 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 4 Dec 2014 07:31:55 +0000 (08:31 +0100)
youtube_dl/extractor/myvidster.py

index 7dd36ee46491eadc75db335acde89391b36d96d0..a94ab8358cacc51094ab791ace648ec062eb5f94 100644 (file)
@@ -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'],
     }