projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #7320 from remitamine/adobetv
[youtube-dl]
/
youtube_dl
/
extractor
/
abc.py
diff --git
a/youtube_dl/extractor/abc.py
b/youtube_dl/extractor/abc.py
index ae80dc5299d55ed0ded3f34233eb1456cb8fcffe..c0e5d1abffca7ded0186f64e2b38d7a74ea25d30 100644
(file)
--- a/
youtube_dl/extractor/abc.py
+++ b/
youtube_dl/extractor/abc.py
@@
-12,7
+12,7
@@
from ..utils import (
class ABCIE(InfoExtractor):
IE_NAME = 'abc.net.au'
class ABCIE(InfoExtractor):
IE_NAME = 'abc.net.au'
- _VALID_URL = r'http://www\.abc\.net\.au/news/
[^/]+/[^/]+/
(?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',
_TESTS = [{
'url': 'http://www.abc.net.au/news/2014-11-05/australia-to-staff-ebola-treatment-centre-in-sierra-leone/5868334',
@@
-45,6
+45,9
@@
class ABCIE(InfoExtractor):
'title': 'NAB lifts interest rates, following Westpac and CBA',
'description': 'md5:f13d8edc81e462fce4a0437c7dc04728',
},
'title': 'NAB lifts interest rates, following Westpac and CBA',
'description': 'md5:f13d8edc81e462fce4a0437c7dc04728',
},
+ }, {
+ 'url': 'http://www.abc.net.au/news/2015-10-19/6866214',
+ 'only_matching': True,
}]
def _real_extract(self, url):
}]
def _real_extract(self, url):