Revert "retreive potoken for bypass restrictions"
All checks were successful
Invidious CI / build (push) Successful in 7m47s
All checks were successful
Invidious CI / build (push) Successful in 7m47s
This reverts commit b0cd6587bd
.
This commit is contained in:
parent
100ecff0b3
commit
cae8cbdda8
1 changed files with 0 additions and 9 deletions
|
@ -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 a new issue