mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-06-28 01:48:26 +00:00
Revert "retreive potoken for bypass restrictions"
This reverts commit b0cd6587bd
.
This commit is contained in:
parent
100ecff0b3
commit
cae8cbdda8
@ -285,12 +285,6 @@ module YoutubeAPI
|
|||||||
} of String => String | Int64,
|
} of String => String | Int64,
|
||||||
}
|
}
|
||||||
|
|
||||||
visitor_data = REDIS_DB.get("VISITORDATA")
|
|
||||||
|
|
||||||
if visitor_data
|
|
||||||
client_context["client"]["visitorData"] = visitor_data
|
|
||||||
end
|
|
||||||
|
|
||||||
# Add some more context if it exists in the client definitions
|
# Add some more context if it exists in the client definitions
|
||||||
if !client_config.screen.empty?
|
if !client_config.screen.empty?
|
||||||
client_context["client"]["clientScreen"] = client_config.screen
|
client_context["client"]["clientScreen"] = client_config.screen
|
||||||
@ -487,9 +481,6 @@ module YoutubeAPI
|
|||||||
"playbackContext" => {
|
"playbackContext" => {
|
||||||
"contentPlaybackContext" => playback_ctx,
|
"contentPlaybackContext" => playback_ctx,
|
||||||
},
|
},
|
||||||
"serviceIntegrityDimensions" => {
|
|
||||||
"poToken": REDIS_DB.get("POTOKEN"),
|
|
||||||
},
|
|
||||||
"serviceIntegrityDimensions" => {
|
"serviceIntegrityDimensions" => {
|
||||||
"poToken" => CONFIG.po_token,
|
"poToken" => CONFIG.po_token,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user