mirror of
https://github.com/iv-org/invidious.git
synced 2025-02-24 08:18:22 -06:00
Compare commits
No commits in common. "875b8ea0c2f1edf4d231c1e939fd75758fad481d" and "c3a3f98014d3569ff08ceac8aca137f58f567227" have entirely different histories.
875b8ea0c2
...
c3a3f98014
@ -78,11 +78,7 @@ def extract_video_info(video_id : String, proxy_region : String? = nil)
|
||||
elsif video_id != player_response.dig("videoDetails", "videoId")
|
||||
# YouTube may return a different video player response than expected.
|
||||
# See: https://github.com/TeamNewPipe/NewPipe/issues/8713
|
||||
# Line to be reverted if one day we solve the video not available issue.
|
||||
return {
|
||||
"version" => JSON::Any.new(Video::SCHEMA_VERSION.to_i64),
|
||||
"reason" => JSON::Any.new("Can't load the video on this Invidious instance. YouTube is currently trying to block Invidious instances. <a href=\"https://github.com/iv-org/invidious/issues/3822\">Click here for more info about the issue.</a>"),
|
||||
}
|
||||
raise VideoNotAvailableException.new("The video returned by YouTube isn't the requested one. (WEB client)")
|
||||
else
|
||||
reason = nil
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user