mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-17 09:58:29 +00:00
feat: add additional url type
This commit is contained in:
parent
5b1b159828
commit
f1213cb328
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
|
|
||||||
class MyFreeCamsIE(InfoExtractor):
|
class MyFreeCamsIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://(?:app|share|www)\.myfreecams\.com(?:/room)?/#?(?P<id>[^/?&#]+)'
|
_VALID_URL = r'https?://(?:app|share|www|m)\.myfreecams\.com(?:/room|/chats)?/#?(?P<id>[^/?&#]+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://app.myfreecams.com/room/stacy_x3',
|
'url': 'https://app.myfreecams.com/room/stacy_x3',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -52,6 +52,9 @@ class MyFreeCamsIE(InfoExtractor):
|
|||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
},
|
},
|
||||||
'skip': 'Model offline',
|
'skip': 'Model offline',
|
||||||
|
}, {
|
||||||
|
'url': 'https://m.myfreecams.com/chats/erikasmagic',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def get_required_params(self, webpage):
|
def get_required_params(self, webpage):
|
||||||
|
Loading…
Reference in New Issue
Block a user