Sergey M․
6 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
1 additions and
1 deletions
-
youtube_dl/extractor/archiveorg.py
|
@ -41,7 +41,7 @@ class ArchiveOrgIE(InfoExtractor): |
|
|
webpage = self._download_webpage( |
|
|
webpage = self._download_webpage( |
|
|
'http://archive.org/embed/' + video_id, video_id) |
|
|
'http://archive.org/embed/' + video_id, video_id) |
|
|
jwplayer_playlist = self._parse_json(self._search_regex( |
|
|
jwplayer_playlist = self._parse_json(self._search_regex( |
|
|
r"(?s)Play\('[^']+'\s*,\s*(\[.+\])\s*,\s*{.*?}\);", |
|
|
|
|
|
|
|
|
r"(?s)Play\('[^']+'\s*,\s*(\[.+\])\s*,\s*{.*?}\)", |
|
|
webpage, 'jwplayer playlist'), video_id) |
|
|
webpage, 'jwplayer playlist'), video_id) |
|
|
info = self._parse_jwplayer_data( |
|
|
info = self._parse_jwplayer_data( |
|
|
{'playlist': jwplayer_playlist}, video_id, base_url=url) |
|
|
{'playlist': jwplayer_playlist}, video_id, base_url=url) |
|
|