mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 18:37:46 +08:00
Override suitable so I can remove the trailing $ from _VALID_URL.
This commit is contained in:
parent
c322a6f62e
commit
786079f4d2
@ -226,7 +226,7 @@ class ABCIViewIE(InfoExtractor):
|
||||
|
||||
class ABCIViewSeriesIE(ABCIViewIE):
|
||||
IE_NAME = 'abc.net.au:iview:series'
|
||||
_VALID_URL = r'https?://iview\.abc\.net\.au/(show|programs)/(?P<id>[a-z0-9\-]+)/?$'
|
||||
_VALID_URL = r'https?://iview\.abc\.net\.au/(show|programs)/(?P<id>[a-z0-9\-]+)/?'
|
||||
|
||||
_TESTS = [
|
||||
{
|
||||
@ -249,6 +249,10 @@ class ABCIViewSeriesIE(ABCIViewIE):
|
||||
},
|
||||
]
|
||||
|
||||
@classmethod
|
||||
def suitable(cls, url):
|
||||
return False if ABCIViewIE.suitable(url) else super(ABCIViewSeriesIE, cls).suitable(url)
|
||||
|
||||
def _real_extract(self, url):
|
||||
series_id = self._match_id(url)
|
||||
series_params = self._download_json(
|
||||
|
Loading…
x
Reference in New Issue
Block a user