Anchor re to prevent false-positives

This commit is contained in:
Pete Johns 2019-05-13 07:45:03 +10:00
parent 744df7ab32
commit 75256313a6

View File

@ -70,7 +70,7 @@ class SBSIE(InfoExtractor):
class SBSNewsIE(SBSIE):
_VALID_URL = r'https?://(?:www\.)?sbs\.com\.au/news/(?P<id>[0-9a-z-]+)'
_VALID_URL = r'^https?://(?:www\.)?sbs\.com\.au/news/(?P<id>[0-9a-z-]+)$'
_TESTS = [{
'url': 'https://www.sbs.com.au/news/are-the-campaigns-working-voters-speak-out',