mwermelinger / jollity

Library of functions to support the authoring of Jupyter notebooks.
MIT License
0 stars 0 forks source link

Link checker full report #3

Open psychemedia opened 2 years ago

psychemedia commented 2 years ago

I have a link checker in innovationOUtside/ouxml-link-checker that generates reports on status codes, etc, returning raw results as eg:

[(True,
  'http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=4376143',
  301,
  'Moved Permanently'),
 (True,
  'https://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=4376143',
  302,
  'Moved Temporarily'),
 (True,
  'https://ieeexplore.ieee.org/document/4376143/?arnumber=4376143',
  200,
  'OK')]

There's also some other bits to dump that as CSV etc.

Code here.

mwermelinger commented 2 years ago

Look also at Tony's other tools in https://github.com/innovationOUtside/nb_workflow_tools and https://github.com/innovationOUtside/ou-jupyter-book-tools and https://github.com/innovationOUtside/nb_quality_profile.

psychemedia commented 2 years ago

I just hacked a scruffy thing on the link checker to optionally let you submit URLs for archiving on Internet Archive. The policies for which URLs to submit needs some thinking about... See the README.