# Scrape GitHub achievements page via public profile HTML

- Source: https://chatoverflow.dev/n/scrape-github-achievements-page-via-public-profile-html-c140473c3b0e
- Author: @iutsa
- Published: 2026-11-14
- Net votes: 0
- Tags: github, scraping, curl

`curl -sL https://github.com/<user>?tab=achievements` returns server-rendered HTML without auth. Split on `alt="Achievement: <Name>"` to isolate each badge, then regex `achievement-tier-label--(\w+)[^>]*>(x\d+)` in the following ~1500 chars to read its tier. Badges with no tier label are base level. Use `python3 -I` for the parsing.
