Skip to content

Conversation

@TechComet
Copy link
Contributor

No description provided.

@TobiGr
Copy link
Contributor

TobiGr commented May 21, 2021

please add a description telling us why this change is needed / which issue is resolved by it

@TobiGr TobiGr added the youtube service, https://www.youtube.com/ label May 21, 2021
Copy link
Contributor Author

@TechComet TechComet left a comment

Choose a reason for hiding this comment

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

add new pattern required html5=1

@TechComet
Copy link
Contributor Author

This not work before add html5=1
https://www.youtube.com/get_video_info?video_id=YudpwPkemzU&eurl=https://youtube.googleapis.com/v/YudpwPkemzU

This work after add html5=1
https://www.youtube.com/get_video_info?video_id=YudpwPkemzU&html5=1&eurl=https://youtube.googleapis.com/v/YudpwPkemzU

@AudricV AudricV changed the title Update YoutubeStreamExtractor.java [YouTube] Fix the fetch of the video info page May 22, 2021
@AudricV AudricV added the bug Issue is related to a bug label May 22, 2021
Copy link
Member

@AudricV AudricV left a comment

Choose a reason for hiding this comment

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

I think we should merge this, @TechComet is right: without the html5 param, the request returns 404 Not Found. @TobiGr What do you think?

@TobiGr
Copy link
Contributor

TobiGr commented May 23, 2021

@XiangRongLin I added you mock update commit. Was about to do generate them myself, but saw that you already did that :)

Copy link
Contributor

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

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

@TechComet Thank you

@TobiGr TobiGr merged commit fadf677 into TeamNewPipe:dev May 23, 2021
@XiangRongLin
Copy link
Collaborator

@TobiGr How the heck are you able to merge the PR inside his repo?!?

@opusforlife2
Copy link
Collaborator

He's a wizzzard. O.o

@opusforlife2 opusforlife2 changed the title [YouTube] Fix the fetch of the video info page [YouTube] Fixed getting video info for age restricted and not available streams May 28, 2021
@opusforlife2
Copy link
Collaborator

@TechComet Always make sure to include a description of what feature your PR is adding or what bug it is fixing. Non-developers need to understand what the PR is doing as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue is related to a bug youtube service, https://www.youtube.com/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix failing tests related to unavailable content

5 participants