mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-30 12:36:03 +00:00
Update yt_dlp/extractor/chaturbate.py
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
parent
c6146dd20a
commit
ccab4e657c
@ -34,9 +34,7 @@ class ChaturbateIE(InfoExtractor):
|
|||||||
_ROOM_OFFLINE = 'Room is currently offline'
|
_ROOM_OFFLINE = 'Room is currently offline'
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
mobj = self._match_valid_url(url)
|
video_id, tld = self._match_valid_url(url).group('id', 'tld')
|
||||||
video_id = mobj.group('id')
|
|
||||||
domain = mobj.group('domain')
|
|
||||||
|
|
||||||
webpage = self._download_webpage(
|
webpage = self._download_webpage(
|
||||||
f'https://chaturbate.{domain}/{video_id}/', video_id,
|
f'https://chaturbate.{domain}/{video_id}/', video_id,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user