]>
jfr.im git - yt-dlp.git/blob - yt_dlp/extractor/cableav.py
2 from .common
import InfoExtractor
5 class CableAVIE(InfoExtractor
):
6 _VALID_URL
= r
'https://cableav\.tv/(?P<id>[a-zA-Z0-9]+)'
8 'url': 'https://cableav.tv/lS4iR9lWjN8/',
9 'md5': '7e3fe5e49d61c4233b7f5b0f69b15e18',
13 'title': '國產麻豆AV 叮叮映畫 DDF001 情欲小說家 - CableAV',
14 'description': '國產AV 480p, 720p 国产麻豆AV 叮叮映画 DDF001 情欲小说家',
15 'thumbnail': r
're:^https?://.*\.jpg$',
19 def _real_extract(self
, url
):
20 video_id
= self
._match
_id
(url
)
21 webpage
= self
._download
_webpage
(url
, video_id
)
23 video_url
= self
._og
_search
_video
_url
(webpage
, secure
=False)
25 formats
= self
._extract
_m
3u8_formats
(video_url
, video_id
, 'mp4')
26 self
._sort
_formats
(formats
)
30 'title': self
._og
_search
_title
(webpage
),
31 'description': self
._og
_search
_description
(webpage
),
32 'thumbnail': self
._og
_search
_thumbnail
(webpage
),