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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/screencast.py b/youtube_dl/extractor/screencast.py
index c6554c905..69a0d01f3 100644
--- a/youtube_dl/extractor/screencast.py
+++ b/youtube_dl/extractor/screencast.py
@@ -92,7 +92,8 @@ class ScreencastIE(InfoExtractor):
if video_url is None:
video_url = self._html_search_regex(
- r'"MediaContentUrl":"([^"]+)"', webpage, 'media content url', default=None)
+ r'MediaContentUrl["\']\s*:(["\'])(?P<url>(?:(?!\1).)+)\1',
+ webpage, 'video url', default=None, group='url')
if video_url is None:
video_url = self._html_search_meta(