Is it possible to use block_images with undetectable? #2198
-
I am building a web scraper for a marketplace, and downloading images for each product takes a lot of bandwidth. Therefore, I need to find a way to block downloading images or to download images to the browser cache and then reuse them, so I don't need to download them each time I visit the page. I've tried using the following code; however, it doesn't work when block_images is set to true.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Blocking images will make you detectable, but if you reuse a custom SeleniumBase/help_docs/method_summary.md Line 301 in be6ab2a ( |
Beta Was this translation helpful? Give feedback.
Blocking images will make you detectable, but if you reuse a custom
user_data_dir
for each run, you won't have to reload certain resources that have already been cached.SeleniumBase/help_docs/method_summary.md
Line 301 in be6ab2a
(
user_data_dir
is one of the options in theget_new_driver()
method)