A superhero card board for learning web scraping with Python.
20 heroes & villains across 5 power categories — scrape their powers, teams, and stats!
The Flash
Barry Allen
Quicksilver
Pietro Maximoff
Sonic
Sonic the Hedgehog
Dash
Dashiell Robert Parr
Thor
Thor Odinson
Hulk
Bruce Banner
Goku
Son Goku / Kakarot
Superman
Clark Kent / Kal-El
Professor X
Charles Xavier
Jean Grey
Marvel Girl / Phoenix
Martian Manhunter
J'onn J'onzz
Doctor Strange
Stephen Strange
Human Torch
Johnny Storm
Aquaman
Arthur Curry
Storm
Ororo Munroe
Iceman
Bobby Drake
Spider-Man
Peter Parker
Wonder Woman
Diana Prince
Batman
Bruce Wayne
Black Widow
Natasha Romanoff
Scrape every hero-name and hero-alias. Print them as a list.
Group heroes by their data-column attribute and print each group.
Extract power level numbers and sort heroes from strongest to weakest.
Collect all ability-tag values and find the 5 most common abilities.
Save id, name, alias, team, universe, power level, and rank to a .csv file.
Scrape the weakness-row for every hero and list them neatly.
Separate Marvel vs DC heroes using the meta-tag universe text.
Build a JSON with each column as a key and its heroes as an array of objects.