Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
35
def
_is_public_domain(domain: str) -> bool:
36
parts = _split_domain(domain)
37
return
not parts.domain
38
39
40
class
CookiesMiddleware:
Callers
1
_process_cookies
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected