1 from .common
import InfoExtractor
4 class EbaumsWorldIE(InfoExtractor
):
5 _VALID_URL
= r
'https?://(?:www\.)?ebaumsworld\.com/videos/[^/]+/(?P<id>\d+)'
8 'url': 'http://www.ebaumsworld.com/videos/a-giant-python-opens-the-door/83367677/',
12 'title': 'A Giant Python Opens The Door',
13 'description': 'This is how nightmares start...',
14 'uploader': 'jihadpizza',
18 def _real_extract(self
, url
):
19 video_id
= self
._match
_id
(url
)
20 config
= self
._download
_xml
(
21 f
'http://www.ebaumsworld.com/video/player/{video_id}', video_id
)
22 video_url
= config
.find('file').text
26 'title': config
.find('title').text
,
28 'description': config
.find('description').text
,
29 'thumbnail': config
.find('image').text
,
30 'uploader': config
.find('username').text
,