d3an / finviz

Go API for Finviz
https://github.com/d3an/finviz/wiki
MIT License
20 stars 3 forks source link

Add random user-agent to avoid 403 errors #16

Closed d3an closed 4 years ago

d3an commented 4 years ago

Although this API still works, Mario's Python Finviz API had an issue where users received 403 error codes on requests. The issue was fixed by randomizing/setting the user agent to be a more common one.

Add support for user agent generation to avoid a possible block in the future.