[zattoo] Don't allow conflicting _VALID_URL expressions

This commit is contained in:
Alex Seiler 2017-11-05 19:00:03 +01:00
parent 57012bbee2
commit 9c26cddf99

View File

@ -227,7 +227,7 @@ class QuicklineIE(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):
channel_name = video_id = self._match_id(url)
@ -249,7 +249,7 @@ class ZattooIE(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 = {
'url': 'https://zattoo.com/watch/srf1',