diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-03-05 22:30:32 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-03-05 22:30:32 +0700 |
commit | 81dc74966af020316018fe131a98e8065955f3ee (patch) | |
tree | cadfe26ca04e27a6f997f9a9deb752599615858a /youtube_dl/extractor | |
parent | d53b6764d05442e9c68991911e860c88516089ce (diff) |
[archiveorg] Fix extraction (closes #15770, closes #15772)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/archiveorg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/archiveorg.py b/youtube_dl/extractor/archiveorg.py index 3c7d7250b..c79c58e82 100644 --- a/youtube_dl/extractor/archiveorg.py +++ b/youtube_dl/extractor/archiveorg.py @@ -41,7 +41,7 @@ class ArchiveOrgIE(InfoExtractor): webpage = self._download_webpage( 'http://archive.org/embed/' + video_id, video_id) 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) info = self._parse_jwplayer_data( {'playlist': jwplayer_playlist}, video_id, base_url=url) |