Skip to content

Commit

Permalink
[ie/redtube] Fix formats extraction (#9076)
Browse files Browse the repository at this point in the history
Authored by: jazz1611
  • Loading branch information
jazz1611 committed Jan 28, 2024
1 parent 77c2472 commit c91d8b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yt_dlp/extractor/redtube.py
Expand Up @@ -7,6 +7,7 @@
str_to_int,
unified_strdate,
url_or_none,
urljoin,
)


Expand Down Expand Up @@ -79,7 +80,7 @@ def _real_extract(self, url):
'media definitions', default='{}'),
video_id, fatal=False)
for media in medias if isinstance(medias, list) else []:
format_url = url_or_none(media.get('videoUrl'))
format_url = urljoin('https://www.redtube.com', media.get('videoUrl'))
if not format_url:
continue
format_id = media.get('format')
Expand Down

0 comments on commit c91d8b1

Please sign in to comment.