From fd90cab05a2d47c56c38eef99b97760b8eb5509a Mon Sep 17 00:00:00 2001 From: Pete Johns Date: Mon, 13 Apr 2020 13:23:08 +1000 Subject: [PATCH] _VALID_URL regular expressions are not anchored --- youtube_dl/extractor/sbs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/sbs.py b/youtube_dl/extractor/sbs.py index 230e65414..2e639efc1 100644 --- a/youtube_dl/extractor/sbs.py +++ b/youtube_dl/extractor/sbs.py @@ -70,7 +70,7 @@ class SBSIE(InfoExtractor): class SBSNewsIE(SBSIE): - _VALID_URL = r'^https?://(?:www\.)?sbs\.com\.au/news/(?P[0-9a-z-]+)$' + _VALID_URL = r'https?://(?:www\.)?sbs\.com\.au/news/(?P[0-9a-z-]+)' _TESTS = [{ 'url': 'https://www.sbs.com.au/news/are-the-campaigns-working-voters-speak-out',