Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Related to the 403 patch, but not quite related #606

Open
typhoon71 opened this issue Sep 22, 2022 · 1 comment
Open

Related to the 403 patch, but not quite related #606

typhoon71 opened this issue Sep 22, 2022 · 1 comment

Comments

@typhoon71
Copy link

Like everyone else I got the same issue, so I was trying to work around it.

I noticed that investpy passes "smlID" to the historical data request smlID": str(randint(1000000, 99999999)).

What is it? Also: why random? It's persistent among browsers.

@typhoon71
Copy link
Author

Answering myself: "smlID" is in the webpage source, along the cross ID.
I'm trying to simulate browser behaviour with requests, and was missing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant