facebook-scraper-selenium icon indicating copy to clipboard operation
facebook-scraper-selenium copied to clipboard

Decrease loading time by not loading images

Open MrTomRod opened this issue 3 years ago • 0 comments

I found this option which may be useful:

from selenium.webdriver.chrome.options import Options
options = Options()
options.add_experimental_option("prefs", {"profile.managed_default_content_settings.images": 2})

It prevents Chrome from downloading images, increasing page load speed. This may be useful in some cases...

MrTomRod avatar Nov 18 '20 15:11 MrTomRod