Revert "Attempt to bypass channel region locks"

This reverts commit 95c6747a3e.
This commit is contained in:
Omar Roth
2018-10-14 11:14:27 -05:00
parent 95c6747a3e
commit b49623f90f
3 changed files with 16 additions and 52 deletions

View File

@@ -573,8 +573,11 @@ def fetch_video(id, proxies)
info = HTTP::Params.parse(client.get("/get_video_info?video_id=#{id}&ps=default&eurl=&gl=US&hl=en&disable_polymer=1").body)
if !info["reason"]?
bypass_channel.send(proxy)
break
else
bypass_channel.send(nil)
end
break
rescue ex
end
end