ehentai: clear cookies before each login attempt

This commit is contained in:
Pacalini
2024-10-27 22:55:15 +08:00
committed by GitHub
parent f6e3fa068c
commit 64497500a8

View File

@@ -100,6 +100,7 @@ class Ehentai extends ComicSource {
domain: ".exhentai.org" domain: ".exhentai.org"
})) }))
} }
Network.deleteCookies('https://e-hentai.org')
Network.setCookies('https://e-hentai.org', cookies) Network.setCookies('https://e-hentai.org', cookies)
let res = await Network.get( let res = await Network.get(
"https://forums.e-hentai.org/", "https://forums.e-hentai.org/",