InternetArchive

Search and import files from the Internet Archive.

ResourceFunction["InternetArchive"]["Search",query]

searches the Internet Archive for query.

ResourceFunction["InternetArchive"]["Files",id]

gives the list of files associated with id.

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

imports file associated with id.

Details and Options

InternetArchive[“Search”, query] gives a list of ids.
InternetArchive[“Files”, id] gives a Dataset containing all files and metadata for id.

Examples

Basic Examples

Search the Internet Archive for the term “popeye”:

In[1]:=
ids = ResourceFunction[ "https://www.wolframcloud.com/obj/arnoudb/DeployedResources/\
Function/InternetArchive"]["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[ "https://www.wolframcloud.com/obj/arnoudb/DeployedResources/\
Function/InternetArchive"]["Files", id]
Out[3]=

Randomly select a file:

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

Import the file:

In[5]:=
ResourceFunction[ "https://www.wolframcloud.com/obj/arnoudb/DeployedResources/Function/\
InternetArchive"]["Import", id, file]
Out[5]=