From ccf7ed236f86a187dbda3994b885fe64300ca7d4 Mon Sep 17 00:00:00 2001 From: David Hood <30076632+davidphood@users.noreply.github.com> Date: Thu, 25 Apr 2019 23:56:06 +1000 Subject: [PATCH] Re-added restrictions to the id expression until the following can be otherwise distinguished: https://iview.abc.net.au/programs/play-school-celebrity-covers https://iview.abc.net.au/programs/CK1752H001S00 --- youtube_dl/extractor/abc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/abc.py b/youtube_dl/extractor/abc.py index 4c96941bf..458388e65 100644 --- a/youtube_dl/extractor/abc.py +++ b/youtube_dl/extractor/abc.py @@ -105,7 +105,7 @@ class ABCIE(InfoExtractor): class ABCIViewIE(InfoExtractor): IE_NAME = 'abc.net.au:iview' - _VALID_URL = r'https?://iview\.abc\.net\.au/(?:(?:[^/]+/)*video/|programs/(?:[^/]+/)*)(?P[^/?#]+)' + _VALID_URL = r'https?://iview\.abc\.net\.au/(?:(?:[^/]+/)*video/|programs/(?:[^/]+/)*)(?P[A-Z0-9]+)' _GEO_COUNTRIES = ['AU'] # ABC iview programs are normally available for 14 days only. @@ -231,7 +231,7 @@ class ABCIViewIE(InfoExtractor): class ABCIViewShowIE(ABCIViewIE): IE_NAME = 'abc.net.au:iview:show' - _VALID_URL = r'https?://iview\.abc\.net\.au/(show|programs)/(?P[^/?#]+)/?' + _VALID_URL = r'https?://iview\.abc\.net\.au/(?:show|programs)/(?P[a-z0-9\-]+)/?' _TESTS = [ {