projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2101f5d
)
[ebaumsworld] Modernize
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 12 Dec 2014 16:24:05 +0000
(17:24 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 12 Dec 2014 16:24:05 +0000
(17:24 +0100)
youtube_dl/extractor/ebaumsworld.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ebaumsworld.py
b/youtube_dl/extractor/ebaumsworld.py
index 63c2549d37aa528cc79f83822c7a267d391b74cc..b6bfd2b2dedc5388ef383a3cd8853bbb0c541f68 100644
(file)
--- a/
youtube_dl/extractor/ebaumsworld.py
+++ b/
youtube_dl/extractor/ebaumsworld.py
@@
-1,7
+1,5
@@
from __future__ import unicode_literals
-import re
-
from .common import InfoExtractor
@@
-20,8
+18,7
@@
class EbaumsWorldIE(InfoExtractor):
}
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
- video_id = mobj.group('id')
+ video_id = self._match_id(url)
config = self._download_xml(
'http://www.ebaumsworld.com/video/player/%s' % video_id, video_id)
video_url = config.find('file').text