Using Multiprocessing to speed up web scraping - David Ten
Webscraping or calling APIs to collect data can take significant amounts of time due to the quantities of data involved. We previously saw how we could build a simple web scraper to collect data from Finviz. Depending on the number of tickers that we want to scan, this can take a significant amount of time.
Introduction Webscraping or calling APIs to collect data can take significant amounts of time due to the quantities of data involved. We previously saw how we could build a simple web scraper to collect data from Finviz . Depending on the number of tickers that we want to scan, this can take a significant amount of time. Multiprocessing One way to speed up the web scraping or API calls is to run multiple processes in parallel. The caveat is that the website that we are scraping has to allow us to query it frequently as we will be sending multiple requests from the same IP address. For API call
Explore this link on the map →related reading
- Speed Up Web Scraping Using Concurrency and Parallelismscrapehero.com
- Multithreading and Multiprocessing in 10 Minutes | Towards Data Sciencetowardsdatascience.com
- Web Scraping 201: finding the APIgregreda.com
- Scraping Fish on Indie Hackersindiehackers.com
- Scrape LinkedIn Jobs using Python (Save Data in CSV)scrapingdog.com
- Crawling a billion web pages in just over 24 hoursandrewkchan.dev
- Multiprocessing - Wikipediaen.wikipedia.org
- Scrapy at a glance - Scrapy 2.17.0 documentationdocs.scrapy.org
- Mediumlearningdaily.dev
- Parallel Distributed Processingstanford.edu
- Streamlit • A faster way to build and share data appsstreamlit.io
- Why Learn Python Concurrency – SuperFastPythonsuperfastpython.com