Function Repository Resource:

InternetArchiveData

Source Notebook

Search and import files from the Internet Archive

Contributed by: Arnoud Buzing

ResourceFunction["InternetArchiveData"]["Search",query]

searches the Internet Archive for query.

ResourceFunction["InternetArchiveData"]["Files",id]

gives the list of files associated with id.

ResourceFunction["InternetArchiveData"]["Import",id,file]

imports file associated with id.

Details and Options

ResourceFunction["InternetArchiveData"]["Search",query] gives a list of IDs.
ResourceFunction["InternetArchiveData"]["Files",id] gives a Dataset containing all files and metadata for id.

Examples

Basic Examples (5) 

Search the Internet Archive for the term "turing machine":

In[1]:=
ids = ResourceFunction["InternetArchiveData"]["Search", "turing machine"]
Out[1]=

Pick a random search result:

In[2]:=
id = RandomChoice[ids]
Out[2]=

Get the files associated with this ID:

In[3]:=
files = ResourceFunction["InternetArchiveData"]["Files", id]
Out[3]=

Randomly select a file:

In[4]:=
file = RandomChoice[files[All, "name"]]
Out[4]=

Import the file:

In[5]:=
ResourceFunction["InternetArchiveData"]["Import", id, file]
Out[5]=

Publisher

Arnoud Buzing

Version History

  • 1.0.0 – 22 August 2019

License Information