Skip to content

adpat scrapy-selenium package with a driver pool for selenium

License

Notifications You must be signed in to change notification settings

Cecilia-zwq/scrapy-selenium-multiDriver

 
 

Repository files navigation

Originial Project

scrapy-selenium

Problem

The orginal package could only open one browser driver at a time, which is quite slow for a scrapy

Adaptation

I rewrote scrapy_selenium/middlewares.py inorder to enable multiple browser drivers at same time.

Configuration

After following the Configuration step in orginal project, you can also set:

  • SELENIUM_DRIVER_POOL_SIZE(default = 5)
  • SELENIUM_QUEUE_TIMEOUT(default = 300)

Result

Now, you can open multiple browser drivers at one time! Enjoy your scrapy journey🥳

About

adpat scrapy-selenium package with a driver pool for selenium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%