1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-13 04:37:55 +08:00

[abc] do not capture a regex group

This commit is contained in:
remitamine 2015-10-23 07:16:48 +01:00
parent 638a71d9be
commit a79ddbf62b

View File

@ -12,7 +12,7 @@ from ..utils import (
class ABCIE(InfoExtractor):
IE_NAME = 'abc.net.au'
_VALID_URL = r'http://www\.abc\.net\.au/news/([^/]+/){1,2}(?P<id>\d+)'
_VALID_URL = r'http://www\.abc\.net\.au/news/(?:[^/]+/){1,2}(?P<id>\d+)'
_TESTS = [{
'url': 'http://www.abc.net.au/news/2014-11-05/australia-to-staff-ebola-treatment-centre-in-sierra-leone/5868334',