Skip to content

Commit

Permalink
Fix faulty SMIL files
Browse files Browse the repository at this point in the history
  • Loading branch information
seproDev committed May 26, 2024
1 parent 703005b commit 479da8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/extractor/piksel.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def process_asset_files(asset_files):

smil_url = dict_get(video_data, ['httpSmil', 'hdSmil', 'rtmpSmil'])
if smil_url:
transform_source = None
transform_source = lambda x: x.replace('src="/', 'src="')
if ref_id == 'nhkworld':
# TODO: figure out if this is something to be fixed in urljoin,
# _parse_smil_formats or keep it here
Expand Down

0 comments on commit 479da8d

Please sign in to comment.