From 264544f90e5fccd4efb70a4babf6db4fc35bf70e Mon Sep 17 00:00:00 2001 From: Zenon Mousmoulas Date: Sat, 13 Nov 2021 08:45:46 +0200 Subject: [PATCH] Remove unnecessary quote escape --- youtube_dl/extractor/ant1newsgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/ant1newsgr.py b/youtube_dl/extractor/ant1newsgr.py index ac50accdc..794e241f7 100644 --- a/youtube_dl/extractor/ant1newsgr.py +++ b/youtube_dl/extractor/ant1newsgr.py @@ -156,7 +156,7 @@ class Ant1NewsGrEmbedIE(Ant1NewsGrBaseIE): _URL_RE = _URL_RE.split(r'\?', 1)[0] + r'\?(?:(?!(?P=_q1)).)+' EMBED_RE = r'''(?x) ]+?src=(?P<_q1>%(quot_re)s)(?P%(url_re)s)(?P=_q1) - ''' % {'quot_re': r'[\"\']', 'url_re': _URL_RE} + ''' % {'quot_re': r'["\']', 'url_re': _URL_RE} for mobj in re.finditer(EMBED_RE, webpage): url = unescapeHTML(mobj.group('url')) if url.startswith('//'):