mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-10-01 14:51:25 +02:00
Compare commits
2 Commits
1f786369bc
...
8617d64e94
Author | SHA1 | Date | |
---|---|---|---|
|
8617d64e94 | ||
|
2a3b1280b8 |
|
@ -7,6 +7,7 @@ from ..utils import (
|
|||
str_to_int,
|
||||
unified_strdate,
|
||||
url_or_none,
|
||||
urljoin,
|
||||
)
|
||||
|
||||
|
||||
|
@ -79,7 +80,7 @@ class RedTubeIE(InfoExtractor):
|
|||
'media definitions', default='{}'),
|
||||
video_id, fatal=False)
|
||||
for media in medias if isinstance(medias, list) else []:
|
||||
format_url = url_or_none('https://www.redtube.com' + media.get('videoUrl'))
|
||||
format_url = urljoin('https://www.redtube.com', media.get('videoUrl'))
|
||||
if not format_url:
|
||||
continue
|
||||
format_id = media.get('format')
|
||||
|
|
Loading…
Reference in New Issue
Block a user