SocksPls / hltv-api

Provides an API for HLTV
GNU Affero General Public License v3.0
85 stars 37 forks source link

add selenium for solve cloudflare bug #47

Closed Pre9o closed 8 months ago

Pre9o commented 8 months ago

I am submitting this pull request because I use the API in a bot that I am developing on Twitter. However, I have encountered severe bugs related to Cloudflare in the past few months. I managed to work around this issue by using Selenium. I hope this helps! Thank you.

SocksPls commented 8 months ago

@zGrav is this a duplicate of https://github.com/SocksPls/hltv-api/issues/40#issuecomment-1484681313?

Pre9o commented 8 months ago

@zGrav is this a duplicate of #40 (comment)?

Sorry, I didn't see that there was a solution; I just tried to implement an alternative. Thank you for the help; I'll try to incorporate this solution into my project.