MCPcopy
hub / github.com/scrapy/scrapy / _is_public_domain

Function _is_public_domain

scrapy/downloadermiddlewares/cookies.py:35–37  ·  view source on GitHub ↗
(domain: str)

Source from the content-addressed store, hash-verified

33
34
35def _is_public_domain(domain: str) -> bool:
36 parts = _split_domain(domain)
37 return not parts.domain
38
39
40class CookiesMiddleware:

Callers 1

_process_cookiesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected