aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/screencast.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/screencast.py')
-rw-r--r--youtube_dl/extractor/screencast.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/youtube_dl/extractor/screencast.py b/youtube_dl/extractor/screencast.py
index 62a6a8337..c6554c905 100644
--- a/youtube_dl/extractor/screencast.py
+++ b/youtube_dl/extractor/screencast.py
@@ -91,6 +91,14 @@ class ScreencastIE(InfoExtractor):
'meta tag video URL', default=None)
if video_url is None:
+ video_url = self._html_search_regex(
+ r'"MediaContentUrl":"([^"]+)"', webpage, 'media content url', default=None)
+
+ if video_url is None:
+ video_url = self._html_search_meta(
+ 'og:video', webpage, default=None)
+
+ if video_url is None:
raise ExtractorError('Cannot find video')
title = self._og_search_title(webpage, default=None)