From 4fd34e61e2206542396a8dec94f63331be378e40 Mon Sep 17 00:00:00 2001 From: Lam Date: Mon, 20 Apr 2020 20:41:53 +0200 Subject: [PATCH] Revert "[ted] Restrict info regex (closes #21631)" This reverts commit 515ab4020c6acd0acb146144e4284b769a1353f8. --- youtube_dl/extractor/ted.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/ted.py b/youtube_dl/extractor/ted.py index db5a4f44e6b9..9b60cc462646 100644 --- a/youtube_dl/extractor/ted.py +++ b/youtube_dl/extractor/ted.py @@ -133,7 +133,7 @@ class TEDIE(InfoExtractor): def _extract_info(self, webpage): info_json = self._search_regex( - r'(?s)q\(\s*"\w+.init"\s*,\s*({.+?})\)\s*', + r'(?s)q\(\s*"\w+.init"\s*,\s*({.+})\)\s*', webpage, 'info json') return json.loads(info_json)