Skip to content
Advertisement

How do I get access token from website automaticaly using python?

I am trying to do some web scraping from here but I am struggling to get the access token automaticaly. Everytime I do the web scraping, I need to manually update the Bearer token. Is there a way to do this automaticaly?

Let me show you how I do it manually:

JavaScript

Advertisement

Answer

For that website, you can get an access token by calling their oauth/token endpoint:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement