From 75256313a60c74bcfb55d6cfbdadcb8235ec1a26 Mon Sep 17 00:00:00 2001 From: Pete Johns Date: Mon, 13 May 2019 07:45:03 +1000 Subject: [PATCH] Anchor re to prevent false-positives --- 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 07a0c33fa..92dbe2f51 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',