Python web scraping templates
Build scrapers quickly with templates for Requests, Beautiful Soup, Scrapy, Playwright, and Selenium
Scrape single page with provided URL with Requests and extract data from page's HTML with Beautiful Soup.Starter
Example of a web scraper that uses Python Requests to scrape HTML from URLs provided on input, parses it using BeautifulSoup and saves results to storage.
Scraper example built with Selenium and headless Chrome browser to scrape a website and save the results to storage. A popular alternative to Playwright.
This example Scrapy spider scrapes page titles from URLs defined in input parameter. It shows how to use Apify SDK for Python and Scrapy pipelines to save results.
Empty template with basic structure for the Actor with Apify SDK that allows you to easily add your own functionality.