projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e3e1c8
)
[generic] PEP8
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 5 Jan 2015 17:16:47 +0000
(18:16 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 5 Jan 2015 17:16:47 +0000
(18:16 +0100)
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index 2d871f8b41a6334152ae4677e275fb650717b14e..7a5bf939237ff45731fd3befca5ad0b7dfc0df1f 100644
(file)
--- a/
youtube_dl/extractor/generic.py
+++ b/
youtube_dl/extractor/generic.py
@@
-926,7
+926,7
@@
class GenericIE(InfoExtractor):
# Look for embedded TED player
mobj = re.search(
-
r'<iframe[^>]+?src=(["\'])(?P<url>https?://embed(?:-ssl)?\.ted\.com/.+?)\1', webpage)
+ r'<iframe[^>]+?src=(["\'])(?P<url>https?://embed(?:-ssl)?\.ted\.com/.+?)\1', webpage)
if mobj is not None:
return self.url_result(mobj.group('url'), 'TED')