From 32b781a1b82dcc21914f92db480e61b119a3cb1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Wed, 24 Apr 2013 16:22:40 -0300 Subject: [PATCH] cookies: increase candidate list with dot prefixed domains --- scrapy/http/cookies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/http/cookies.py b/scrapy/http/cookies.py index 8104da2a2..a3846dadb 100644 --- a/scrapy/http/cookies.py +++ b/scrapy/http/cookies.py @@ -92,7 +92,7 @@ def potential_domain_matches(domain): start = domain.index('.', start) + 1 except ValueError: pass - return matches + return matches + ['.' + d for d in matches] class _DummyLock(object): def acquire(self):