Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with video link with query parameter in it #31

Open
shenyush opened this issue Jan 29, 2024 · 0 comments
Open

Issue with video link with query parameter in it #31

shenyush opened this issue Jan 29, 2024 · 0 comments

Comments

@shenyush
Copy link

If the videos in side the m3u8 list look like
https://www.google.com/video0.ts?some=else
The path_helper.py will resolve the file name (function resolve_file_name_by_uri) to video0.ts?some=else, and it wouldn't work (at least on Windows, didn't try it on Linux).

The fix would be adding a split by ? to remove any query parameters.
name = uri.split('/')[-1].split('?')[0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant