pybikes icon indicating copy to clipboard operation
pybikes copied to clipboard

Velobike_ru seems broken

Open Altonss opened this issue 2 years ago • 1 comments

For all 3 cities all is empty, which may be ok, but for Moscow the data dates back to 2022-03-10

Altonss avatar Apr 14 '22 19:04 Altonss

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.

image

eskerda avatar Jul 31 '23 12:07 eskerda