commit 443285aabef470f546f0b01b8e8194ca988bb315 parent f44c2768421bc3b0ead3ccf86b5e499d498674c7 Author: Sergey M․ <dstftw@gmail.com> Date: Sun, 10 Apr 2016 22:15:11 +0600 [ebaumsworlds] Update _VALID_URL (Closes #9135) Diffstat:
M | youtube_dl/extractor/ebaumsworld.py | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/youtube_dl/extractor/ebaumsworld.py b/youtube_dl/extractor/ebaumsworld.py @@ -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',