Ship every Swedish street, a quarter of the US streets, and every US capital and place of 100,000 beside the drawn tenth

This commit is contained in:
2026-10-11 18:50:07 +02:00
committed by Lillem4n
parent 52a28c390c
commit c42c5812fc
9 changed files with 443549 additions and 428 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ def fetch(source, cache, name, magic=b"", data=None, headers=None):
if path.exists():
return path.read_bytes()
for attempt in range(1, 6):
req = urllib.request.Request(source, data=data, headers={"User-Agent": "fejkdata data-import", **(headers or {})})
req = urllib.request.Request(source, data=data, headers={"User-Agent": "fejkdata-data-import (https://github.com/larvit/fejkdata)", **(headers or {})})
try:
with urllib.request.urlopen(req, timeout=600) as r:
body = r.read()