nicoseiga: remove accept_fetish_warning.
This should have been a cookie, but it doesn't matter because the strategy still works without it.
This commit is contained in:
@@ -88,7 +88,7 @@ class NicoSeigaApiClient
|
||||
resp = http.cache(1.hour).post("https://account.nicovideo.jp/login/redirector?site=seiga", form: form)
|
||||
raise RuntimeError, "NicoSeiga login failed (status=#{resp.status} url=#{url})" if resp.status != 200
|
||||
|
||||
resp = http.headers(accept_fetish_warning: 2).cache(1.minute).get(url)
|
||||
resp = http.cache(1.minute).get(url)
|
||||
#raise RuntimeError, "NicoSeiga get failed (status=#{resp.status} url=#{url})" if resp.status != 200
|
||||
|
||||
resp
|
||||
|
||||
Reference in New Issue
Block a user