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

YoutubeAPI: bump client versions #4473

Merged
merged 1 commit into from Mar 8, 2024

Conversation

SamantazFox
Copy link
Member

No description provided.

@SamantazFox SamantazFox requested a review from a team as a code owner March 6, 2024 19:47
@SamantazFox SamantazFox requested review from unixfox and removed request for a team March 6, 2024 19:47
Copy link
Member

@syeopite syeopite left a comment

Choose a reason for hiding this comment

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

Lint just needs to be fixed

@syeopite syeopite added the need-testing This feature needs to be deployed and tested to see if it's working, and doesn't break something label Mar 6, 2024
@SamantazFox
Copy link
Member Author

Lint just needs to be fixed

I'm not sure what to fix?

image

@SamantazFox
Copy link
Member Author

Nevermind, I found the lint issue. Idk why I forgot to run make format in the first place...

@unixfox unixfox merged commit 99a5e9c into iv-org:master Mar 8, 2024
7 checks passed
@unixfox
Copy link
Member

unixfox commented Mar 8, 2024

Merging as many people seems to have issues with instance being blocked. Updating the client versions will probably help.

@OrvilleRed
Copy link
Contributor

Updated versions didn't help for me, YouTubeAPI returned 500. Here is the trace log, if it helps:

2024-03-09 00:09:28 UTC [trace] fetch_channel: UCYTi7HrzJFhr5EHRefNuvaQ : Downloading channel videos page
2024-03-09 00:09:28 UTC [debug] YoutubeAPI: Using endpoint: "/youtubei/v1/browse"
2024-03-09 00:09:28 UTC [trace] YoutubeAPI: ClientConfig: YoutubeAPI::ClientConfig(@client_type=YoutubeAPI::ClientType::Web, @region="US", @proxy_region=nil)
2024-03-09 00:09:28 UTC [trace] YoutubeAPI: POST data: {"context" => {"client" => {"hl" => "en", "gl" => "US", "clientName" => "WEB", "clientVersion" => "2.20240304.00.00", "clientScreen" => "WATCH_FULL_SCREEN", "osName" => "Windows", "osVersion" => "10.0", "platform" => "DESKTOP"}}, "continuation" => "4qmFsgKvARIYVUNZVGk3SHJ6SkZocjVFSFJlZk51dmFRGmQ4Z1pJR2taNlJBb1lDaFpGWjBsSlFVTm5lVTFCUlRSSWEyZENWVUZCSlRORUVpWUtKREF3TURBd01EQXdMVEF3TURBdE1EQXdNQzB3TURBd0xUQXdNREF3TURBd01EQXdNQmdCmgIsYnJvd3NlLWZlZWRVQ1lUaTdIcnpKRmhyNUVIUmVmTnV2YVF2aWRlb3MxMDI%3D"}
2024-03-09 00:09:28 UTC [error] YoutubeAPI: Got error 500 when requesting /youtubei/v1/browse
2024-03-09 00:09:28 UTC [error] YoutubeAPI: Internal error encountered.
2024-03-09 00:09:28 UTC [info] YoutubeAPI: POST data was: {"context" => {"client" => {"hl" => "en", "gl" => "US", "clientName" => "WEB", "clientVersion" => "2.20240304.00.00", "clientScreen" => "WATCH_FULL_SCREEN", "osName" => "Windows", "osVersion" => "10.0", "platform" => "DESKTOP"}}, "continuation" => "4qmFsgKvARIYVUNZVGk3SHJ6SkZocjVFSFJlZk51dmFRGmQ4Z1pJR2taNlJBb1lDaFpGWjBsSlFVTm5lVTFCUlRSSWEyZENWVUZCSlRORUVpWUtKREF3TURBd01EQXdMVEF3TURBdE1EQXdNQzB3TURBd0xUQXdNREF3TURBd01EQXdNQmdCmgIsYnJvd3NlLWZlZWRVQ1lUaTdIcnpKRmhyNUVIUmVmTnV2YVF2aWRlb3MxMDI%3D"}
2024-03-09 00:09:28 UTC [error] RefreshChannelsJob: UCYTi7HrzJFhr5EHRefNuvaQ : Could not extract JSON. Youtube API returned error 500 with message:<br>"Internal error encountered."

@unixfox
Copy link
Member

unixfox commented Mar 9, 2024

Updated versions didn't help for me, YouTubeAPI returned 500. Here is the trace log, if it helps:

2024-03-09 00:09:28 UTC [trace] fetch_channel: UCYTi7HrzJFhr5EHRefNuvaQ : Downloading channel videos page
2024-03-09 00:09:28 UTC [debug] YoutubeAPI: Using endpoint: "/youtubei/v1/browse"
2024-03-09 00:09:28 UTC [trace] YoutubeAPI: ClientConfig: YoutubeAPI::ClientConfig(@client_type=YoutubeAPI::ClientType::Web, @region="US", @proxy_region=nil)
2024-03-09 00:09:28 UTC [trace] YoutubeAPI: POST data: {"context" => {"client" => {"hl" => "en", "gl" => "US", "clientName" => "WEB", "clientVersion" => "2.20240304.00.00", "clientScreen" => "WATCH_FULL_SCREEN", "osName" => "Windows", "osVersion" => "10.0", "platform" => "DESKTOP"}}, "continuation" => "4qmFsgKvARIYVUNZVGk3SHJ6SkZocjVFSFJlZk51dmFRGmQ4Z1pJR2taNlJBb1lDaFpGWjBsSlFVTm5lVTFCUlRSSWEyZENWVUZCSlRORUVpWUtKREF3TURBd01EQXdMVEF3TURBdE1EQXdNQzB3TURBd0xUQXdNREF3TURBd01EQXdNQmdCmgIsYnJvd3NlLWZlZWRVQ1lUaTdIcnpKRmhyNUVIUmVmTnV2YVF2aWRlb3MxMDI%3D"}
2024-03-09 00:09:28 UTC [error] YoutubeAPI: Got error 500 when requesting /youtubei/v1/browse
2024-03-09 00:09:28 UTC [error] YoutubeAPI: Internal error encountered.
2024-03-09 00:09:28 UTC [info] YoutubeAPI: POST data was: {"context" => {"client" => {"hl" => "en", "gl" => "US", "clientName" => "WEB", "clientVersion" => "2.20240304.00.00", "clientScreen" => "WATCH_FULL_SCREEN", "osName" => "Windows", "osVersion" => "10.0", "platform" => "DESKTOP"}}, "continuation" => "4qmFsgKvARIYVUNZVGk3SHJ6SkZocjVFSFJlZk51dmFRGmQ4Z1pJR2taNlJBb1lDaFpGWjBsSlFVTm5lVTFCUlRSSWEyZENWVUZCSlRORUVpWUtKREF3TURBd01EQXdMVEF3TURBdE1EQXdNQzB3TURBd0xUQXdNREF3TURBd01EQXdNQmdCmgIsYnJvd3NlLWZlZWRVQ1lUaTdIcnpKRmhyNUVIUmVmTnV2YVF2aWRlb3MxMDI%3D"}
2024-03-09 00:09:28 UTC [error] RefreshChannelsJob: UCYTi7HrzJFhr5EHRefNuvaQ : Could not extract JSON. Youtube API returned error 500 with message:<br>"Internal error encountered."

Please create a separate issue.

@iv-org iv-org locked and limited conversation to collaborators Mar 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
need-testing This feature needs to be deployed and tested to see if it's working, and doesn't break something
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants