aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorPierre Rudloff <contact@rudloff.pro>2013-09-17 23:07:44 +0200
committerPierre Rudloff <contact@rudloff.pro>2013-09-17 23:07:44 +0200
commit8f77093262b9613fcba73a101eb403ea9b275a33 (patch)
tree60df504180de14955b865262f816f18f727b664e /youtube_dl/extractor/youtube.py
parentd79a0e233a329e543797478a2eeb377e469c0f3f (diff)
parent6523223a4c6f8924ac156b3fc2f5519a53b58e4b (diff)
Merge remote-tracking branch 'upstream/master' into websurg
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r--youtube_dl/extractor/youtube.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 0c963fd20..f227e2086 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -783,10 +783,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
if self._downloader.params.get('verbose'):
s = url_data['s'][0]
if age_gate:
- player_version = self._search_regex(r'ad3-(.+?)\.swf',
- video_info['ad3_module'][0] if 'ad3_module' in video_info else 'NOT FOUND',
- 'flash player', fatal=False)
- player = 'flash player %s' % player_version
+ player = 'flash player'
else:
player = u'html5 player %s' % self._search_regex(r'html5player-(.+?)\.js', video_webpage,
'html5 player', fatal=False)