Improve some _VALID_URLs

This commit is contained in:
stepshal 2016-09-08 18:29:05 +07:00 committed by Sergey M․
parent b690ea15eb
commit 925194022c
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D
65 changed files with 86 additions and 86 deletions

View file

@ -13,7 +13,7 @@ from ..utils import (
class ABCIE(InfoExtractor):
IE_NAME = 'abc.net.au'
_VALID_URL = r'https?://www\.abc\.net\.au/news/(?:[^/]+/){1,2}(?P<id>\d+)'
_VALID_URL = r'https?://(?: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',