info:wayback

Wayback Machine

Un outil en ligne génial pour retrouver l'historique d'un site

https://archive.org/web/

script waybackpack

outil en ligne de commande permettant de télécharger la version d’un site tout entier à partir du site Wayback Machine

voir https://www.networkshare.fr/2016/05/waybackpack-telecharger-site-waybackmachine

script waybackpack / Fred Radeff

adaptation du précédent script

#! /usr/bin/bash

###########################################################################
#   Script to make a complete backup of a website recorder at             #
#   waybackmachine / web.archive.org                                      #
#   required: python, pip, pip install waybackpack                        #
#                                                                         #
#   Copyright information                                                 #
#                                                                         #
#	Copyright (C) 2016 Fred Radeff <fradeff@akademia.ch>                  #
#                                                                         #
#   License                                                               #
#                                                                         #
#	This program is free software; you can redistribute it and/or modify  #
#	it under the terms of the GNU General Public License as published by  #
#	the Free Software Foundation; either version 2 of the License, or     #
#	(at your option) any later version.                                   #
#                                                                         #
#	This program is distributed in the hope that it will be useful,       #
#	but WITHOUT ANY WARRANTY; without even the implied warranty of        #
#	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the          #
#	GNU General Public License for more details.                          #
#                                                                         #
#	You should have received a copy of the GNU General Public License     #
#	along with this program. If not, see <http://www.gnu.org/licenses/>.  #
#   usage: waybackpack [-h] (-d DIR | --list) [--raw] [--root ROOT]       #
#                   [--from-date FROM_DATE] [--to-date TO_DATE]           #
#                   [--user-agent USER_AGENT] [--follow-redirects]        #
#                   [--uniques-only] [--collapse COLLAPSE] [--quiet]      #
#                   url													  #
#                                                                         #
###########################################################################

echo "Which is the url of the website from which you want a local backup (eg. www.akademia.ch)?"
read zeurl
echo "Where do you want the backup (eg ~/backups/$zeurl)?"
read zelocalpath
mkdir $zelocalpath
echo "From when do you want the start backup (eg 1996)"
read zedatebegin
echo "Until when do you want the backup (eg 2016)"
read zedateend
echo "The backup of $zeurl until $zedate to path $zelocalpath is starting, please wait"
date
waybackpack $zeurl -d $zelocalpath --from-date $zedatebegin --to-date $zedateend
echo "Backup completed"
date
thunar $zelocalpath&
  • info/wayback.txt
  • Dernière modification : 2018/07/18 09:46
  • de radeff