Update
This commit is contained in:
parent
0b48f932cb
commit
2e8ff40d3d
13
matcher/__init__.py
Normal file
13
matcher/__init__.py
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
"""Match OSM and Wikidata items."""
|
||||||
|
|
||||||
|
|
||||||
|
CallParams = dict[str, str | int]
|
||||||
|
|
||||||
|
user_agent = (
|
||||||
|
"osm-wikidata/0.1 (https://github.com/EdwardBetts/osm-wikidata; edward@4angle.com)"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def user_agent_headers() -> dict[str, str]:
|
||||||
|
"""User-Agent headers."""
|
||||||
|
return {"User-Agent": user_agent}
|
Loading…
Reference in a new issue