-
After successfully bypassing Cloudflare, the page takes a total of 90-120 seconds to load. The contents I need shows up within the first 20 seconds. I have a large number of pages to process, in the neighborhood of 450k pages. Is there a way to access the contents before the page fully loads? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There are ways of accessing the page sooner:
With those combined, you'll have access to the page quickly, but you may need to add waits on top of that if things are too fast. |
Beta Was this translation helpful? Give feedback.
There are ways of accessing the page sooner:
--pls="none"
/pls="none"
--> SetpageLoadStrategy
to "none": This strategy causes Selenium to return immediately after the initial HTML content is fully received by the browser.--sjw
/sjw=True
--> Skip JS Waits, such aswait_for_ready_state_complete()
.With those combined, you'll have access to the page quickly, but you may need to add waits on top of that if things are too fast.