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

add GET parameters with fragments in m3u8 playlist #14708

Closed
svkdvlp opened this issue Nov 9, 2017 · 1 comment
Closed

add GET parameters with fragments in m3u8 playlist #14708

svkdvlp opened this issue Nov 9, 2017 · 1 comment
Labels

Comments

@svkdvlp
Copy link

@svkdvlp svkdvlp commented Nov 9, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.11.06. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • [x ] I've verified and I assure that I'm running youtube-dl 2017.11.06

Before submitting an issue make sure you have:

  • [x ] At least skimmed through the README, most notably the FAQ and BUGS sections
  • [ x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • [ x] Question
  • Other

Description of your issue, suggested solution and other information

I want to download a file by m3u8 playlist. The url needs 2 GET url parametes. No issue with that. Successfully downloaded playlist. But all the fragments need those 2 params. So youtube-dl gives 403 forbidden error with all fragments. Can I get any methods to supply those params with fragment download urls?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 9, 2017

Programmatically you can use internal extra_param_to_segment_url parameter to pass arbitrary query to each fragment:
https://github.com/rg3/youtube-dl/blob/cc6a960e134614f8af2a42dcd8bf146d63638a3c/youtube_dl/extractor/uplynk.py#L37-L38
There is no way to do similar in regular usage scenario though.

@dstftw dstftw closed this Nov 9, 2017
@dstftw dstftw added the question label Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.