Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Building a Concurrent Web Scraper with Python and Selenium

NotificationsYou must be signed in to change notification settings

testdrivenio/concurrent-web-scraping

Repository files navigation

Want to learn how to build this project?

Check out theblog post.

Want to use this project?

  1. Fork/Clone

  2. Create and activate a virtual environment

  3. Install the requirements

  4. Run the scrapers:

    # sync(env)$ python script.py headless# parallel with multiprocessing(env)$ python script_parallel_1.py headless# parallel with concurrent.futures(env)$ python script_parallel_2.py headless# concurrent with concurrent.futures (should be the fastest!)(env)$ python script_concurrent.py headless# parallel with concurrent.futures and concurrent with asyncio(env)$ python script_asyncio.py headless
  5. Run the tests:

    (env)$ python -m pytest test/test_scraper.py(env)$ python -m pytest test/test_scraper_mock.py

About

Building a Concurrent Web Scraper with Python and Selenium

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp