mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-03 03:48:31 +00:00
Merge 5e9c7815e5
into c57412d1f9
This commit is contained in:
commit
91bae293c4
@ -653,6 +653,7 @@
|
||||
)
|
||||
from .filmweb import FilmwebIE
|
||||
from .firsttv import FirstTVIE
|
||||
from .fitnessblender import FitnessBlenderIE
|
||||
from .fivetv import FiveTVIE
|
||||
from .flextv import FlexTVIE
|
||||
from .flickr import FlickrIE
|
||||
|
24
yt_dlp/extractor/fitnessblender.py
Normal file
24
yt_dlp/extractor/fitnessblender.py
Normal file
@ -0,0 +1,24 @@
|
||||
from .brightcove import BrightcoveNewIE
|
||||
from .common import InfoExtractor
|
||||
|
||||
|
||||
class FitnessBlenderIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?:www\.)?fitnessblender\.com/videos/'
|
||||
|
||||
_TESTS = [{
|
||||
'url': 'https://www.fitnessblender.com/videos/lower-body-strength-hiit-workout-strength-sets-with-hiit-cardio-burst',
|
||||
'info_dict': {
|
||||
'id': '6296677311001',
|
||||
'ext': 'mp4',
|
||||
'title': 'WO 2022-02-02 Ks Lower Body HIIT and Strength',
|
||||
'thumbnail': r're:^https://.+\.jpg',
|
||||
},
|
||||
'params': {'skip_download': 'm3u8'},
|
||||
}]
|
||||
def _real_extract(self, url):
|
||||
video_id = self._match_valid_url(url).group('id')
|
||||
|
||||
return self.url_result(
|
||||
f'https://players.brightcove.net/6036648099001/skIgx8kLxj_default/index.html?videoId={video_id}',
|
||||
BrightcoveNewIE, video_id)
|
||||
|
Loading…
Reference in New Issue
Block a user