Skip to content

Conversation

@FireMasterK
Copy link
Member

@FireMasterK FireMasterK commented Jun 2, 2023

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

This is in light of the recent YouTube changes.
Also removed unneeded empty string fallback when the videoId property in the player responses is missing.

@FireMasterK FireMasterK added the youtube service, https://www.youtube.com/ label Jun 2, 2023
@AudricV
Copy link
Member

AudricV commented Jun 2, 2023

You should change the Javadoc and the parameters of the method used, as it doesn't apply anymore to only additionnal player responses and YouTube return a different video error for the IP rate limit case.

You should also change this behavior for the TV client we use.

@FireMasterK FireMasterK force-pushed the player-response-failfast branch from c8f9f4d to f063dd1 Compare June 2, 2023 21:47
@AudricV AudricV changed the title Fail-fast extraction if the initial player response is invalid. [YouTube] Check whether player responses are valid for all InnerTube clients used Jun 18, 2023
@AudricV AudricV merged commit d961d34 into TeamNewPipe:dev Jun 18, 2023
@FireMasterK FireMasterK deleted the player-response-failfast branch June 18, 2023 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

youtube service, https://www.youtube.com/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants