Is it possible to use block_images with undetectable? #2198
Answered
by
mdmintz
MalvinJohnas
asked this question in
Q&A
|
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. |
Answered by
mdmintz
Oct 18, 2023
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 ( |
0 replies
Answer selected by
mdmintz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Blocking images will make you detectable, but if you reuse a custom
user_data_dirfor 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_diris one of the options in theget_new_driver()method)