Download the PHP package dawood/wmb-scrapper without Composer
On this page you can find all versions of the php package dawood/wmb-scrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dawood/wmb-scrapper
More information about dawood/wmb-scrapper
Files in dawood/wmb-scrapper
Package wmb-scrapper
Short Description A small Php package to fetch archive url snapshots from archive.org.using it you can fetch complete list of snapshot urls of any year orcomplete list of all years possible.This package can be used to do recon of any target.
License MIT
Informations about the package wmb-scrapper
WMB Scrapper
=========================================
Introduction
A small Php package to fetch archive url snapshots from archive.org.
using it you can fetch complete list of snapshot urls of any year or
complete list of all years possible.
This package can be used to do recon of any target.
Installation
Install the package through composer:
Make sure, that you include the composer autoloader somewhere in your codebase.
Examples
There are several examples provided in examples folder too.
Get first/last snapshot year of domain
include "vendor/autoload.php";
use dawood\WBMScrapper\WBMScrapper;
$url = 'https://github.com/';
$firstSnapShotYear = WBMScrapper::firstSnapshotYear($url);
$lastSnapShotYear = WBMScrapper::lastSnapshotYear($url);
echo $lastSnapShotYear .PHP_EOL;
echo $firstSnapShotYear.PHP_EOL;
Get snapshots of any year of domain
include "vendor/autoload.php";
use dawood\WBMScrapper\WBMScrapper;
$url = 'https://github.com/';
$snapshotsOf2012 = WBMScrapper::getSnapShotUrlsOfYear($url, 2012);
print_r(snapshotsOf2012 );
//outputs list of urls of waybackmachin snapshots
e.g
https://web.archive.org/web/20091226225818/http://www.github.com/
Get snapshots of all years of domain
include "vendor/autoload.php";
use dawood\WBMScrapper\WBMScrapper;
$url = 'https://github.com/';
$allSnapshots = WBMScrapper::getAllSnapShotUrls($url);
print_r($allSnapshots);
//outputs a complete list of urls of waybackmachin snapshots
e.g
https://web.archive.org/web/20091226225818/http://www.github.com/
License
The WMB Scrapper is open-sourced software licensed under the MIT license.
Contribution
Thanks to all of the contributors ,
Author
Dawood Ikhlaq and Open source community