[ebaumsworlds] Update _VALID_URL (Closes #9135)
authorSergey M․ <dstftw@gmail.com>
Sun, 10 Apr 2016 16:15:11 +0000 (22:15 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 10 Apr 2016 16:15:11 +0000 (22:15 +0600)
youtube_dl/extractor/ebaumsworld.py

index b6bfd2b2dedc5388ef383a3cd8853bbb0c541f68..c97682cd367edebfd9fc6a476ad073cb03240054 100644 (file)
@@ -4,10 +4,10 @@ from .common import InfoExtractor
 
 
 class EbaumsWorldIE(InfoExtractor):
-    _VALID_URL = r'https?://www\.ebaumsworld\.com/video/watch/(?P<id>\d+)'
+    _VALID_URL = r'https?://(?:www\.)?ebaumsworld\.com/videos/[^/]+/(?P<id>\d+)'
 
     _TEST = {
-        'url': 'http://www.ebaumsworld.com/video/watch/83367677/',
+        'url': 'http://www.ebaumsworld.com/videos/a-giant-python-opens-the-door/83367677/',
         'info_dict': {
             'id': '83367677',
             'ext': 'mp4',