[toggle] add support for live.mewatch.sg (closes #27555)
This commit is contained in:
parent
794771a164
commit
af93ecfd88
1 changed files with 4 additions and 1 deletions
|
@ -200,7 +200,7 @@ class ToggleIE(InfoExtractor):
|
||||||
|
|
||||||
class MeWatchIE(InfoExtractor):
|
class MeWatchIE(InfoExtractor):
|
||||||
IE_NAME = 'mewatch'
|
IE_NAME = 'mewatch'
|
||||||
_VALID_URL = r'https?://(?:www\.)?mewatch\.sg/watch/[^/?#&]+-(?P<id>[0-9]+)'
|
_VALID_URL = r'https?://(?:(?:www|live)\.)?mewatch\.sg/watch/[^/?#&]+-(?P<id>[0-9]+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://www.mewatch.sg/watch/Recipe-Of-Life-E1-179371',
|
'url': 'https://www.mewatch.sg/watch/Recipe-Of-Life-E1-179371',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
|
@ -220,6 +220,9 @@ class MeWatchIE(InfoExtractor):
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://www.mewatch.sg/watch/Little-Red-Dot-Detectives-S2-%E6%90%9C%E5%AF%86%E3%80%82%E6%89%93%E5%8D%A1%E3%80%82%E5%B0%8F%E7%BA%A2%E7%82%B9-S2-E1-176232',
|
'url': 'https://www.mewatch.sg/watch/Little-Red-Dot-Detectives-S2-%E6%90%9C%E5%AF%86%E3%80%82%E6%89%93%E5%8D%A1%E3%80%82%E5%B0%8F%E7%BA%A2%E7%82%B9-S2-E1-176232',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://live.mewatch.sg/watch/Recipe-Of-Life-E41-189759',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
|
Loading…
Reference in a new issue