iso7010-a-day/readme.md

13 lines
461 B
Markdown
Raw Normal View History

2022-09-13 17:21:04 +01:00
# ISO7010 a Day
A silly twitter bot that posts a random ISO7010 safety sign every day. You can follow it
[@iso_7010](https://twitter.com/iso_7010).
## How it works
- Scrape the [wikipedia page for ISO7010](https://en.wikipedia.org/wiki/ISO_7010),
picking out all the files in the gallery and their associated caption
- Pick a random one
- Lookup the file using Wikimedia's API to get license metadata
- Download the SVG file
- Render it to a PNG
- Tweet it!