This project is a web scraper developed with Playwright and Python to extract all actors' data from the Apify Store.
- Automatically scrolls to load all actors (approximately 4000+ records in total)
- Extracts detailed information for each actor:
- Title
- Slug (URL identifier)
- Description
- Author name
- Number of users
- Rating
- Saves the scraped data as a CSV file
- Python 3.8+
- Playwright
- Pandas
- Other dependencies (see
requirements.txt)
- Clone this repository:
git clone <repository-url>
cd apify- Install dependencies:
pip install -r requirements.txt- Install Playwright browsers:
playwright installRun the script to start scraping:
python scrape_actors.pyThe script will automatically:
- Open a browser and navigate to the Apify Store
- Scroll the page until all actors are loaded
- Extract data from all actors
- Save the data to an
apify_actors.csvfile
The generated CSV file contains the following fields:
title: Actor titleslug: Unique identifier for the actordescription: Actor descriptionauthor: Author nameusers: Number of usersrating: Ratingurl: Actor URL
- The scraper runs in headed browser mode, showing the browser interface during the process
- The complete scraping process may take several minutes, depending on network speed and total number of records
- The script includes automatic detection to stop scraping when no new content is loaded after multiple scrolls
The source code is licensed under the MIT License. Scraped data and third-party content retain their respective rights; this license does not grant rights to redistribute them.