1
0
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:
JChris246 2025-03-18 21:37:02 -04:00
parent 5b1b159828
commit f1213cb328

View File

@ -9,7 +9,7 @@
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 = [{
'url': 'https://app.myfreecams.com/room/stacy_x3',
'info_dict': {
@ -52,6 +52,9 @@ class MyFreeCamsIE(InfoExtractor):
'skip_download': True,
},
'skip': 'Model offline',
}, {
'url': 'https://m.myfreecams.com/chats/erikasmagic',
'only_matching': True,
}]
def get_required_params(self, webpage):