1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-24 17:25:52 +01:00

[ebaumsworlds] Update _VALID_URL (Closes #9135)

This commit is contained in:
Sergey M․ 2016-04-10 22:15:11 +06:00
parent f44c276842
commit 443285aabe
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View 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',