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

Bot being detected #129

Open
wnsite opened this issue May 13, 2024 · 1 comment
Open

Bot being detected #129

wnsite opened this issue May 13, 2024 · 1 comment

Comments

@wnsite
Copy link

wnsite commented May 13, 2024

My code:

save_webpage(url="https://minecraft.wiki", project_folder=os.getcwd()+"/test",project_name="my_site",bypass_robots=True,debug=True,open_in_browser=True,delay=None,threaded=False)

the code runs correctly, but the index.html file it downloads has one thing: 403: Forbidden
minecraft.wiki is public and I am using bypass robots but it seems that it is still being detected.

@rajatomar788
Copy link
Owner

Try changing the useragent. It should work.

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

2 participants