PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
  Classes of Dawood Ikhlaq  >  Archive.org PHP API  >  index.php  >  Download  
File: index.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Archive.org PHP API
Get past versions of pages from Wayback Machine
Author: By
Last change:
Date: 3 months ago
Size: 584 bytes
 

Contents

Class file image Download
<?php
/**
 * Created by PhpStorm.
 * User: daudm
 * Date: 2/25/2018
 * Time: 4:38 PM
 */


use dawood\WBMScrapper\WBMScrapper;
include
"vendor/autoload.php";

$url = 'https://github.com/';
$aliExpressFirstSnapShotYear = WBMScrapper::firstSnapshotYear($url);
$aliExpressLastSnapShotYear = WBMScrapper::lastSnapshotYear($url);
echo
$aliExpressFirstSnapShotYear.PHP_EOL;
echo
$aliExpressLastSnapShotYear.PHP_EOL;

$snapshotsOf2012 = WBMScrapper::getSnapShotUrlsOfYear($url, 2012);
print_r(snapshotsOf2012 );

$allSnapshots = WBMScrapper::getAllSnapShotUrls($url);
print_r($allSnapshots);