Open Altonss opened 2 years ago
At the moment velobike is rejecting requests that do not come from a browser, by issuing a javascript challenge that generates a nonce that later returns a valid session id that must be included on the request. It's using anti ddos protection from qrator labs.
Only solution on this is either checking how long it takes for a valid session to expire and see if we can reasonably use that, or add some extra dependencies on the project to communicate with a js engine and solve these kinds of js challenges. So far this is the only one so I am inclining towards no. The final possibility would be trying to solve the challenge on python directly.
For all 3 cities all is empty, which may be ok, but for Moscow the data dates back to 2022-03-10