Skip to main content

Scrape all Steam reviews from a specific profile

Project description

Scrape all Steam reviews from a specific profile

This script uses BeautifulSoup to do some very basic web-scraping and retrieve the reviews for a given user account. The profile must be set to public visibility.

  • Free software: MIT license

Installation

pip install archive-steam-reviews

Usage

By default it will only retrieve the first page of reviews, and print to stdout. As the review page is sorted by most recently changed, usually the --all switch is only be needed for an initial dump of all existing reviews. If more than ten reviews are published and/or edited between running the script, the parameter is needed to get all changes.

When using --save, each review will be stored in a text file named with the Steam App ID the review is for (unfortunately the game name itself is not available for scraping without an additional request). The file will have a YAML frontmatter with some metadata (Steam URL, playtime, date of review, …) and the review (converted to Markdown) as the post body. As such, it is ready for use in Hugo, similar static site generators or other purposes.

Changelog

0.2.1 (2023-12-31)

  • 🍰 Now On PyPI

With this release, archive-steam-reviews is now available on PyPI. You can install it with:

pip install archive-steam-reviews

The functionality has not changed.

📦 Python packaging by 🦄 Brie.

0.1.0 (2023-10-28)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

archive-steam-reviews-0.2.1.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

archive_steam_reviews-0.2.1-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page