Live on alexperathoner.github.io/ItaliaAndreaLorenzon/.
Andrea Lorenzon is an Italian youtuber who has been uploading videos showing small towns in an interesting way. These videos are available here.
A Github Action is run every couple of days, and runs a python script, which does the following things:
- Use the Youtube API to get info about the videos in the playlist.
- Parse the town's name from the title of each video
- Use the Mapbox geocoding API to get the coordinates of each town
- Create a geojson object with a point for each video, and adding its corresponding video url and town name to their
properties - Save the geojson file
The website is a simple mapbox map showing Italy and using the generated geojson file as data source. When clicking on a marker a popup is generated, using the properties to show an embedded video.