Skip to content

Conversation

@bastimeyer
Copy link
Member

Follow-up of 53ac068

Simply pass the whole input URL as base_url value, since we're always joining all URLs using urllib.parse.urljoin().

Add another test case which fails on 53ac068 due to the incorrect path splitting, and update all remaining tests.


Fixes #6337
Introduced by #6328

@pzhlkj6612 please check. Thanks!

Follow-up of 53ac068

Simply pass the whole input URL as `base_url` value,
since we're always joining all URLs using `urllib.parse.urljoin()`.

Add another test case which fails on 53ac068 due to
the incorrect path splitting, and update all remaining tests.
Copy link
Contributor

@pzhlkj6612 pzhlkj6612 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is literally a simpler way to fix it. It works!

[cli][debug] Streamlink: 7.0.0+32.g9e67601b
...
[stream.dash][debug] audio/mp4 segment initialization: downloading (1970-01-01T00:00:00.000000Z / 2024-12-14T17:10:26.843548Z)
[stream.dash][debug] video/mp4 segment 1: downloading (1970-01-01T00:00:00.000000Z / 2024-12-14T17:10:26.845548Z)
[stream.dash][debug] video/mp4 segment initialization: completed
[stream.ffmpegmux][debug] Starting copy to pipe: \\.\pipe\streamlinkpipe-255840-1-7343
[stream.ffmpegmux][debug] Starting copy to pipe: \\.\pipe\streamlinkpipe-255840-2-5059
[stream.dash][debug] audio/mp4 segment 1: downloading (1970-01-01T00:00:00.000000Z / 2024-12-14T17:10:26.854135Z)
[stream.dash][debug] audio/mp4 segment initialization: completed

@bastimeyer bastimeyer merged commit edc4717 into streamlink:master Dec 14, 2024
23 checks passed
@bastimeyer bastimeyer deleted the stream/dash/fix-base-url-input branch December 14, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stream.dash: incorrect base_url (BaseURL) handling after fetching manifest

2 participants