]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[archiveorg] Fix extraction (closes #15770, closes #15772)
authorSergey M․ <dstftw@gmail.com>
Mon, 5 Mar 2018 15:30:32 +0000 (22:30 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 5 Mar 2018 15:30:32 +0000 (22:30 +0700)
youtube_dl/extractor/archiveorg.py

index 3c7d7250b611a7e3a7bf7a6777a53932858588d7..c79c58e828150b9608bc2ac74c34a3428deb821a 100644 (file)
@@ -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)