mirror of https://github.com/scrapy/scrapy.git
cookies: increase candidate list with dot prefixed domains
This commit is contained in:
parent
31bec08a39
commit
32b781a1b8
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue