Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Checks hyperlinks in an expression, webpage, or notebook, on your computer or in the cloud
ResourceFunction["CheckHyperlinks"][expr] checks hyperlinks in expr and reports which can be successfully followed and which are broken. | |
ResourceFunction["CheckHyperlinks"][expr,props] gives only the specified properties props of the hyperlinks. |
| CloudObject | cloud object representing an API or a notebook |
| NotebookObject | open notebook in the front end |
| URL | URL object |
| File | file object |
| String | string representing a URL, or a path to a notebook or HTML file |
| "Valid" | valid URLs |
| "Broken" | broken URLs |
| "BrokenData" | association giving broken URLs and corresponding response or failure objects |
Check a hyperlink:
| In[1]:= |
|
| Out[1]= |
|
Check only for broken links:
| In[2]:= |
|
| Out[2]= |
|
Check several hyperlinks:
| In[3]:= |
|
| Out[3]= |
|
| In[4]:= |
|
| Out[4]= |
|
Check hyperlinks on a webpage:
| In[5]:= |
|
| Out[5]= |
|
Check hyperlinks in a cloud object:
| In[6]:= |
|
| Out[6]= |
|
| In[7]:= |
|
| Out[7]= |
|
Check the same object given as a URL:
| In[8]:= |
|
| Out[8]= |
|
| In[9]:= |
|
| Out[9]= |
|
Check hyperlinks in an expression:
| In[10]:= |
|
| Out[10]= |
|
Check hyperlinks in a cloud object:
| In[11]:= |
|
| Out[11]= |
|
Check hyperlinks in the body of a cloud API function:
| In[12]:= |
|
| Out[12]= |
|
| In[13]:= |
|
| Out[13]= |
|
Check hyperlinks in an open notebook object:
| In[14]:= |
|
| In[15]:= |
|
| Out[15]= |
|
Check hyperlinks in a notebook file, using different representations a pointer to the file:
| In[16]:= |
|
| In[17]:= |
|
| Out[17]= |
|
| In[18]:= |
|
| Out[18]= |
|
| In[19]:= |
|
| Out[19]= |
|
Check hyperlinks in a Notebook object:
| In[20]:= |
|
| Out[20]= |
|
Check only for the specified properties of the links:
| In[21]:= |
|
| Out[21]= |
|
| In[22]:= |
|
| Out[22]= |
|
| In[23]:= |
|
| Out[23]= |
|
| In[24]:= |
|
| Out[24]= |
|
Some front end objects are not currently recognized as special objects:
| In[25]:= |
|
| In[26]:= |
|
| Out[26]= |
|
Apply the Notebook wrapper to check links:
| In[27]:= |
|
| Out[27]= |
|
This work is licensed under a Creative Commons Attribution 4.0 International License