projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[youtube] Fix extraction.
[youtube-dl]
/
youtube_dl
/
extractor
/
screencast.py
diff --git
a/youtube_dl/extractor/screencast.py
b/youtube_dl/extractor/screencast.py
index c6554c905d03318ff4b3507bc9ba5c6020bcd891..69a0d01f39c24f9fdcef0d31dd4d9d7a2f082c85 100644
(file)
--- 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(
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(
if video_url is None:
video_url = self._html_search_meta(