Handle full authorization header

This commit is contained in:
FliegendeWurst 2022-05-25 10:01:11 +02:00
parent 73f6db731c
commit bb42745781

View File

@ -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)
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