[zattoo] Don't allow conflicting _VALID_URL expressions
This commit is contained in:
parent
57012bbee2
commit
9c26cddf99
@ -227,7 +227,7 @@ class QuicklineIE(QuicklineBaseIE):
|
|||||||
|
|
||||||
|
|
||||||
class QuicklineLiveIE(QuicklineBaseIE):
|
class QuicklineLiveIE(QuicklineBaseIE):
|
||||||
_VALID_URL = r'https?://(?:www\.)?mobiltv\.quickline\.com/watch/(?P<id>[^/]+)'
|
_VALID_URL = r'https?://(?:www\.)?mobiltv\.quickline\.com/watch/(?P<id>[^/]+)$'
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
channel_name = video_id = self._match_id(url)
|
channel_name = video_id = self._match_id(url)
|
||||||
@ -249,7 +249,7 @@ class ZattooIE(ZattooBaseIE):
|
|||||||
|
|
||||||
|
|
||||||
class ZattooLiveIE(ZattooBaseIE):
|
class ZattooLiveIE(ZattooBaseIE):
|
||||||
_VALID_URL = r'https?://(?:www\.)?zattoo\.com/watch/(?P<id>[^/]+)'
|
_VALID_URL = r'https?://(?:www\.)?zattoo\.com/watch/(?P<id>[^/]+)$'
|
||||||
|
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'https://zattoo.com/watch/srf1',
|
'url': 'https://zattoo.com/watch/srf1',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user