[sankaku] remove login support
The old login method for 'https://chan.sankakucomplex.com/user/login' and the cookies it produces have no effect on the results from 'beta.sankakucomplex.com'.
This commit is contained in:
@@ -88,7 +88,7 @@ class TestCookiedict(unittest.TestCase):
|
||||
self.assertEqual(sorted(cookies.values()), sorted(self.cdict.values()))
|
||||
|
||||
def test_domain(self):
|
||||
for category in ["exhentai", "nijie", "sankaku", "seiga"]:
|
||||
for category in ["exhentai", "idolcomplex", "nijie", "seiga"]:
|
||||
extr = _get_extractor(category)
|
||||
cookies = extr.session.cookies
|
||||
for key in self.cdict:
|
||||
@@ -104,10 +104,10 @@ class TestCookieLogin(unittest.TestCase):
|
||||
|
||||
def test_cookie_login(self):
|
||||
extr_cookies = {
|
||||
"exhentai": ("ipb_member_id", "ipb_pass_hash"),
|
||||
"nijie" : ("nemail", "nlogin"),
|
||||
"sankaku" : ("login", "pass_hash"),
|
||||
"seiga" : ("user_session",),
|
||||
"exhentai" : ("ipb_member_id", "ipb_pass_hash"),
|
||||
"idolcomplex": ("login", "pass_hash"),
|
||||
"nijie" : ("nemail", "nlogin"),
|
||||
"seiga" : ("user_session",),
|
||||
}
|
||||
for category, cookienames in extr_cookies.items():
|
||||
cookies = {name: "value" for name in cookienames}
|
||||
|
||||
Reference in New Issue
Block a user