Page MenuHomeDevCentral

crunchyroll.php
No OneTemporary

crunchyroll.php

<?php
/**
* Represents a page from the http://www.crunchyroll.com/ site.
*/
class CrunchyRollPage extends Page {
/**
* Analyses the page and extracts metadata
*/
function analyse () {
parent::analyse();
$authorElement = self::between('<div class="byline">', '</div>');
$this->author = self::grab($authorElement, '">', '</a>');
$this->extractYYYYMMDDDateFromURL();
$this->site = "[[Crunchyroll]]";
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Jul 7, 17:22 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3880431
Default Alt Text
crunchyroll.php (469 B)

Event Timeline