From: Sergey M․ Date: Mon, 5 Mar 2018 15:30:32 +0000 (+0700) Subject: [archiveorg] Fix extraction (closes #15770, closes #15772) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=81dc74966af020316018fe131a98e8065955f3ee;p=youtube-dl [archiveorg] Fix extraction (closes #15770, closes #15772) --- 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)