mirror of
https://github.com/FliegendeWurst/naviki-gpx-download.git
synced 2024-11-24 20:54: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)
|
# 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"
|
oauth_token = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
|
||||||
|
if oauth_token.startswith("Bearer "):
|
||||||
|
oauth_token = oauth_token[7:]
|
||||||
# (optional) select which routes to export
|
# (optional) select which routes to export
|
||||||
route_types = "routedAll,recordedMy,recordedOthers"
|
route_types = "routedAll,recordedMy,recordedOthers"
|
||||||
# GPX files will be saved in this directory
|
# GPX files will be saved in this directory
|
||||||
|
Loading…
Reference in New Issue
Block a user