You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.1 KiB
3.1 KiB
Ursula Franklin¶
You can find the recordings of her Massey lectures on archive.org. Note the URL:
https://archive.org/details/the-real-world-of-technology
You can also access the API of archive.org to get information in a structured format that you can use in a script...
<https://archive.org/details/the-real-world-of-technology&output=json
In [46]:
identifier = "the-real-world-of-technology" url = f"https://archive.org/details/{identifier}"
In [ ]:
from urllib.request import urlopen import json
In [ ]:
f = urlopen(url+"&output=json")
In [ ]:
feed = json.load(f)
In [ ]:
feed
In [ ]:
len(feed['files'])
According to the Archive.org API:
A particular file can always be downloaded from:
https://archive.org/download/<identifier>/<filename>
In [ ]:
# this is something specific to notebooks... from IPython.display import HTML, display
In [ ]:
for filename, d in feed['files'].items(): if d['format'] == "VBR MP3": display(HTML(f'<h2>{d["title"]}</h2>')) display(HTML(f'<audio src="https://archive.org/download/{identifier}{filename}" controls></audio>'))