From e2713d32f49f1bfa830cc755a96691c39da88290 Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Thu, 9 Jun 2016 19:00:13 +0800 Subject: [PATCH] [openload] Fix extraction. Thanks @perron375 for the solution Closes #9706 --- youtube_dl/extractor/openload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.py index 5049b870e..1b57462b5 100644 --- a/youtube_dl/extractor/openload.py +++ b/youtube_dl/extractor/openload.py @@ -100,7 +100,7 @@ def _real_extract(self, url): raise ExtractorError('File not found', expected=True) code = self._search_regex( - r'\s*\s*]+>([^<]+)', + r'\s*\s*]+>[^>]+\s*]+>([^<]+)', webpage, 'JS code') decoded = self.openload_decode(code)