this post was submitted on 04 Dec 2023
28 points (91.2% liked)
Firefox
20446 readers
7 users here now
/c/firefox
A place to discuss the news and latest developments on the open-source browser Firefox.
Rules
1. Adhere to the instance rules
2. Be kind to one another
3. Communicate in a civil manner
Reporting
If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Don't know how techy you are, but I've had some luck with using pandas for stuff like this, though I don't know how good it works on wikipedia.
https://pandas.pydata.org/docs/reference/api/pandas.read_html.html
You can either do the filtering directly on the resulting pandas datframes or export it to whatever format you like including excel or csv
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_excel.html
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_csv.html