How to pass a JS init script to the BrowserConfig? #882
Replies: 2 comments
-
any idea? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Okay, I realized that I was not doing Crawl4AI the right way and instead I should use something like Playwright to navigate through pages, do all the interactions and not be detected by Antibot system and just use Crawl4AI to extract the data from those pages. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys, amazing job made on Crawl4AI, well done.
I have a question. So, when I'm instantiating a Playwright instance, I can pass some init script.
My goal here is to avoid bot detection. And as you can see on the following screenshot, I can pass the webdriver anti-bot detection with this PlayWrite code.
But I want to do the same thing with my Crawl4AI browser config instance because without passing this code, as you can see on the following screenshot, the bot may be detected because of the webdriver test.
The code:
Crawl4AI==0.5.0.post4
Thank you for your answer.
Beta Was this translation helpful? Give feedback.
All reactions