Jan-Lukas Else

Jan-Lukas Else

Tech, life and everything else

A comment by Tbo

https://janlukas.blog/dev/komoot-export

Tbo

Hello, I'm trying to use your script but I got a 403 error while fetching tours.
https://www.komoot.com/api/v007/users/2175161847244/tours/?limit=10000&page=0&sort_direction=desc&sort_field=date&status=private&type=tour_recorded: unexpected status: 403

I've added the kmt_sess value in the creds.yml file. If I copy paste the URL in my browser where I'm logged in I can get the list. So I assume I', doing something wrong within the cred file.

This is how it looks ```user_id: "2175161847244" # "Komoot-ID" found on https://www.komoot.com/account/details
cookie: > # "Cookie" HTTP header value of logged-in requests to Komoot - Check the network tab in the browser developer tools
kmt_sess="value=="```

Do you have any idea why it doesn't work?
Cheers!

Interactions & Comments