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

[YouTube] get_video_info with el=info has invalid parameters #15246

Open
Protuhj opened this issue Jan 13, 2018 · 1 comment
Open

[YouTube] get_video_info with el=info has invalid parameters #15246

Protuhj opened this issue Jan 13, 2018 · 1 comment

Comments

@Protuhj
Copy link
Contributor

@Protuhj Protuhj commented Jan 13, 2018

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 2018.01.14. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.01.14

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • 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)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

Relevant portion below is the 'el=info' bit.
If you attempt to load the URL in a browser, you can see that it returns an error message.

python -m youtube_dl -F --print-traffic Sq3-W6BYpRU
[snip]
[youtube] Sq3-W6BYpRU: Downloading video info webpage
send: u'GET /get_video_info?ps=default&el=info&video_id=Sq3-W6BYpRU&hl=en&sts=17541&disable_polymer=true&gl=US&eurl=
[/snip]

Description of your issue, suggested solution and other information

When attempting to load YouTube formats, the 'el=info' page (which used to serve the DASH MPD URL) contains the following error text in the resulting file:

errorcode=2&reason=Invalid+parameters.&status=fail

Either the el=info page should be removed, or a valid parameter set should be determined.

@anxdpanic
Copy link

@anxdpanic anxdpanic commented Jan 14, 2018

el=vevo also returns Invalid parameters.

The valid el parameters I was able to find from the player.js; 'leanback', 'embedded', 'detailpage', 'editpage', 'adunit', 'previewpage', 'profilepage'
None seem to return dashmpd anymore unless it's live, my channel, or drm content.

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.