projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5d524e
)
[youtube] fix display of swf player id
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 20 Jul 2014 18:20:42 +0000
(20:20 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 20 Jul 2014 18:20:42 +0000
(20:20 +0200)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index 623056bd962782fddfc2ed3841e2c5e826a35507..6e77504bf1011bc80eb42ecd4a153fe8eaeb224b 100644
(file)
--- a/
youtube_dl/extractor/youtube.py
+++ b/
youtube_dl/extractor/youtube.py
@@
-834,7
+834,7
@@
class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
else:
if player_url.endswith('swf'):
player_version = self._search_regex(
- r'-(.+
)
\.swf$', player_url,
+ r'-(.+
?)(?:/watch_as3)?
\.swf$', player_url,
u'flash player', fatal=False)
player_desc = 'flash player %s' % player_version
else: