Skip to main content

Scrape user data from Goodreads

Project description

Goodreads Icon

Goodreads User Scraper

Scrape Goodreads User Data: Profile, Book Shelves, Books, Authors

Version  Downloads 

Contents

Usage

Using pip:

pip install goodreads-user-scraper
goodreads-user-scraper --user_id <your id> --output_dir goodreads-data

Using pipx:

pipx run goodreads-user-scraper --user_id <your id> --output_dir goodreads-data

Arguments

--user_id

  • Description: The user whose data should be scraped. Find your user id using these directions.
  • Required: Yes

--output_dir

  • Description: The directory where all scraped data will be output.
  • Required: No
  • Default: goodreads-data

--skip_user_info

  • Description: Whether the script should skip scraping user information.
  • Required: No
  • Default: False

--skip_shelves

  • Description: Whether the script should skip scraping shelves.
  • Required: No
  • Default: False

--skip_authors

  • Description: Whether the script should skip scraping authors.
  • Required: No
  • Default: False

Troubleshooting

Ensure that your profile is viewable by anyone:

  1. Navigate to the Goodreads Account Settings page
  2. Click on the Account & notifications tab
  3. In the Privacy section, under Who Can View My Profile, select "anyone". Save your account settings.

Development

  1. Clone the GitHub repository

    git clone https://github.com/YashTotale/goodreads-user-scraper.git
    
  2. Run the install script

    bash scripts/install.sh
    
  3. Make changes

  4. Run the test script

    bash scripts/test.sh
    

Publishing

Publishing is automated via GitHub Actions using PyPI Trusted Publishing (OIDC) — no API tokens are stored.

Run the publish script with the version bump type:

bash scripts/publish.sh <patch|minor|major>

The script bumps the version, creates a git tag, and pushes it. The publish workflow builds the distribution and uploads it to PyPI on any pushed v* tag.

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

goodreads_user_scraper-1.2.5.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

goodreads_user_scraper-1.2.5-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file goodreads_user_scraper-1.2.5.tar.gz.

File metadata

  • Download URL: goodreads_user_scraper-1.2.5.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for goodreads_user_scraper-1.2.5.tar.gz
Algorithm Hash digest
SHA256 d089e3b8d783df105e66242047c2d145e4e7fcaa11975795afeeb8bc8e780b66
MD5 47be1cc64e6a76847e1b4768cdc0defd
BLAKE2b-256 726b14197fdf3f1fe09adaecfb7723c913028a60daffab6b1567364acfc397a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for goodreads_user_scraper-1.2.5.tar.gz:

Publisher: publish.yml on YashTotale/goodreads-user-scraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file goodreads_user_scraper-1.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for goodreads_user_scraper-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 820f6b02629657a5568fe6300d84685d411c1f3666093b8d9768254d1843a7d7
MD5 d016219ca5bf2fe2b4f1ec2282a8530d
BLAKE2b-256 c0d3a275dcf89643de87039bbdad74f92dbfafba824e98e6c7e0acaf74b34f70

See more details on using hashes here.

Provenance

The following attestation bundles were made for goodreads_user_scraper-1.2.5-py3-none-any.whl:

Publisher: publish.yml on YashTotale/goodreads-user-scraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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