jonathanmccann / archive-url-firefox-addon

An addon for Firefox that allows on click saving to the Wayback Machine
https://addons.mozilla.org/en-US/firefox/addon/save-url-to-wayback-machine/
27 stars 5 forks source link

Add GhostArchive #22

Closed pigsonthewing closed 2 years ago

pigsonthewing commented 2 years ago

Please consider adding GhostArchive https://ghostarchive.org/ as a target archive.

jonathanmccann commented 2 years ago

Thank you for the suggestion. As far as I can tell there is no way to pass in the URL to be archived though. I don't know how useful it would be to only open the archiver without any details filled in. Do you know if I am overlooking it or the maintaining would be open to passing the URL via a request parameter?

jtagcat commented 2 years ago

curl 'https://ghostarchive.org/archive2' -X POST --data-raw 'archive=https%3A%2F%2Fgithub.com%2Fjonathanmccann%2Farchive-url-firefox-addon%2Fissues%2F22'

response header: location: /archive/GSpAl

(or is POST a no-go?)

yfdyh000 commented 2 years ago

FYI: https://www.google.com/search?q=chrome.tabs.create+post+request+site:stackoverflow.com

By the way, the service sounds good, but it looks young. https://web.archive.org/web/20210825002811/https://ghostarchive.org/

jonathanmccann commented 2 years ago

This has been implemented in version 1.9 which is now available.

Thank you all for your help and contributions. I did a large refactor in order to make it simpler to add new archivers in the future so please let me know if you encounter any issues.

The options have also changed to a list of archivers so those will need to be reviewed after installation to make sure the archivers you want to use are enabled. If only one is enabled then it will function the same as the "One Click Save" previously.