mirror of
https://github.com/FliegendeWurst/naviki-gpx-download.git
synced 2024-11-21 19:34:57 +00:00
Handle full authorization header
This commit is contained in:
parent
73f6db731c
commit
bb42745781
@ -6,6 +6,8 @@ import pathlib
|
||||
|
||||
# set this to your token (open naviki.org, login, copy the value of the Authorization header in the browser dev tools)
|
||||
oauth_token = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
|
||||
if oauth_token.startswith("Bearer "):
|
||||
oauth_token = oauth_token[7:]
|
||||
# (optional) select which routes to export
|
||||
route_types = "routedAll,recordedMy,recordedOthers"
|
||||
# GPX files will be saved in this directory
|
||||
|
Loading…
Reference in New Issue
Block a user