Skip to content

Commit

Permalink
Update latest version WEB_CREATOR + fix comment web embed (#4930)
Browse files Browse the repository at this point in the history
* Update to latest version WEB_CREATOR

* fix comment about using web embed as a fallback
  • Loading branch information
unixfox authored Sep 20, 2024
1 parent d9df90b commit a021b93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/invidious/videos/parser.cr
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def extract_video_info(video_id : String)

new_player_response = nil

# Second try in case WEB_EMBEDDED_PLAYER doesn't work with po_token.
# Second try in case WEB_CREATOR doesn't work with po_token.
# Only trigger if reason found and po_token configured.
if reason && CONFIG.po_token
client_config.client_type = YoutubeAPI::ClientType::WebEmbeddedPlayer
Expand Down
2 changes: 1 addition & 1 deletion src/invidious/yt_backend/youtube_api.cr
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ module YoutubeAPI
ClientType::WebCreator => {
name: "WEB_CREATOR",
name_proto: "62",
version: "1.20220918",
version: "1.20240918.03.00",
os_name: "Windows",
os_version: WINDOWS_VERSION,
platform: "DESKTOP",
Expand Down

0 comments on commit a021b93

Please sign in to comment.