mirror of https://github.com/iv-org/invidious.git
Update latest version WEB_CREATOR + fix comment web embed (#4930)
* Update to latest version WEB_CREATOR * fix comment about using web embed as a fallback
This commit is contained in:
parent
d9df90b5e3
commit
a021b93063
|
@ -106,7 +106,7 @@ def extract_video_info(video_id : String)
|
||||||
|
|
||||||
new_player_response = nil
|
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.
|
# Only trigger if reason found and po_token configured.
|
||||||
if reason && CONFIG.po_token
|
if reason && CONFIG.po_token
|
||||||
client_config.client_type = YoutubeAPI::ClientType::WebEmbeddedPlayer
|
client_config.client_type = YoutubeAPI::ClientType::WebEmbeddedPlayer
|
||||||
|
|
|
@ -84,7 +84,7 @@ module YoutubeAPI
|
||||||
ClientType::WebCreator => {
|
ClientType::WebCreator => {
|
||||||
name: "WEB_CREATOR",
|
name: "WEB_CREATOR",
|
||||||
name_proto: "62",
|
name_proto: "62",
|
||||||
version: "1.20220918",
|
version: "1.20240918.03.00",
|
||||||
os_name: "Windows",
|
os_name: "Windows",
|
||||||
os_version: WINDOWS_VERSION,
|
os_version: WINDOWS_VERSION,
|
||||||
platform: "DESKTOP",
|
platform: "DESKTOP",
|
||||||
|
|
Loading…
Reference in New Issue