Closed bitsgalore closed 4 years ago
Don't know if this is within the scope of this bot, but a possible further enhancement would be to automatically submit any changed article versions to archive.org and archive.is. For archive.org a request like this does the trick:
https://web.archive.org/save/https://nos.nl/op3/artikel/2256596-kimberly-laat-je-het-zwarte-perspectief-zien.html
The full API documentation (which for some reason doesn't describe the save functionality) is here:
https://archive.org/help/wayback_api.php
Saving to archive.is looks slightly more complicated, but I found some Python code that shows how it works:
https://github.com/pastpages/archiveis/blob/master/archiveis/api.py
(Note that there's also this javascript library, but it appears to be out of date)
I'm going to give this some thought. Considering the currently present functionality, it's definitely out of scope, but scopes can be broadened.
Don't know if this is within the scope of this bot, but a possible further enhancement would be to automatically submit any changed article versions to archive.org and archive.is. For archive.org a request like this does the trick:
https://web.archive.org/save/https://nos.nl/op3/artikel/2256596-kimberly-laat-je-het-zwarte-perspectief-zien.html
The full API documentation (which for some reason doesn't describe the save functionality) is here:
https://archive.org/help/wayback_api.php
Saving to archive.is looks slightly more complicated, but I found some Python code that shows how it works:
https://github.com/pastpages/archiveis/blob/master/archiveis/api.py
(Note that there's also this javascript library, but it appears to be out of date)