Upgrade to crystal 1.0.0

This commit is contained in:
syeopite 2021-05-24 06:45:50 -07:00
parent 7f272f1293
commit 065c104f27
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82
8 changed files with 24 additions and 31 deletions

View file

@ -421,7 +421,7 @@ get "/modify_notifications" do |env|
html = YT_POOL.client &.get("/subscription_manager?disable_polymer=1", headers)
cookies = HTTP::Cookies.from_headers(headers)
cookies = HTTP::Cookies.from_client_headers(headers)
html.cookies.each do |cookie|
if {"VISITOR_INFO1_LIVE", "YSC", "SIDCC"}.includes? cookie.name
if cookies[cookie.name]?