SocksPls / hltv-api

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

Failed to get parsed page #40

Closed Helyux closed 1 year ago

Helyux commented 1 year ago

This does not work anymore does it? Looks like the cloudflare protection got increased.

get_parsed_page returns:

<!DOCTYPE html>

Icon for www.hltv.org www.hltv.org

Checking if the site connection is secure

www.hltv.org needs to review the security of your connection before proceeding.
SocksPls commented 1 year ago

Hi,

I've tested the current implementation, and it works for me. However, it's possible that the Cloudflare protection has been updated for some users or regions.

If you're still facing issues, you might want to try using FlareSolverr. It's a standalone app designed to help bypass Cloudflare challenges, and it might be helpful in your case. You can integrate it into your project and see if it resolves the issue for you.

Let me know if you have any questions or need further assistance.

Helyux commented 1 year ago

Hi SocksPls, thanks for the pointer, i'll try to implement FlareSolverr into my project. Feel free to close this issue.