Closed bakustarver closed 2 days ago
Good question! This should be possible, although it would require interacting with the Steamworks API to generate tickets for login, as I believe it requires a client session token.
./daily.sh: 8: ./verify.sh: not found % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 158 100 52 100 106 70 144 --:--:-- --:--:-- --:--:-- 215 ERROR
You can just comment out that if statement for now.
Thank you, everything works
I found that it is possible to download drops.json without steam using browser cookies you need to find the session id for this
-- curl 'https://accounts.klei.com/account/transactions/drops.json' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0' -H 'Accept: application/json, text/plain, /' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'Referer: https://accounts.klei.com/account/transactions' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' -H 'Cookie: lang=en; session=yoursessionid' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' -H 'Sec-GPC: 1' -H 'TE: trailers' get cookies from this site https://accounts.klei.com/account/transactions
can you guide how to get curl requests in dst or other programs?
is it possible to open dst daily gifts using curl?