Skip to content

A Python script to scrape itch.io for names of games in the Pico-8 categories.

License

Notifications You must be signed in to change notification settings

cdeschenes/Pico8-itch.io-lister

Repository files navigation

Pico-8 itch.io Game Lister

A Python script to scrape itch.io for names of games in the Pico-8 categories.

PLEASE NOTE: This script does not download games; it only collects meta information.

Goal

My goal is to make a comprehensive list of (Finished/retail/published) Pico-8 games. Itch.io is a great source of developers publishing games (free/paid) for the Pico-8 platform.

Usage

Before running the script, make sure to install the required packages by running the following commands:

pip install requests beautifulsoup4

Then, execute the script using Python:

python itchscrape.py

This script will scrape from the itch.io Pico-8 page and compile a CSV file with the following fields: Game_Name, Game_Price, Game_Genre, and Game_URL.

Example Games_data.csv:

1. SUPER CRANE, $5, Puzzle, https://calixjumio.itch.io/super-crane
2. PICOHOT, N/A, Shooter, https://tarkovsky.itch.io/picohot
3. UFO Swamp Odyssey, N/A, Platformer, https://paranoidcactus.itch.io/ufo
4. Villager, N/A, Strategy, https://partnano.itch.io/villager
5. CELESTE Classic, N/A, Platformer, https://mattmakesgames.itch.io/celesteclassic
6. Pico World Race, N/A, Racing, https://pak-9.itch.io/pico-world-race

Ongoing Development

This is a work in progress, and I hope to add more fields to it in the future to create an organized collection for Pico-8.

Technical Details

One of the challenges I came across was the itch.io page loading dynamically when scrolling. To overcome this, the script uses the requests library to fetch the content and BeautifulSoup to parse it. The script loops through all the pages by incrementing page_num until there are no more games to scrape.

Feel free to use and contribute to this project!

About

A Python script to scrape itch.io for names of games in the Pico-8 categories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages