sc2profile, a web scraper library for

sc2profile fetches StarCraft II profile information from I wrote it for, but it turned out that scraping information off is slow. It takes between 300ms and 1500ms to download a page from A profile needs to download at least 2 pages, most profiles need 4 pages or more. Some profiles take more than 10 seconds to be scrapped, that’s too slow for

I ended up using’s API, which is fast enough.

sc2profile can still be useful if you don’t want to rely on a service like sc2ranks. It uses lxml to parse & extract information.