PHP Class Goose\Modules\Extractors\AdditionalDataExtractor

Inheritance: extends Goose\Modules\AbstractModule, implements Goose\Modules\ModuleInterface, use trait Goose\Traits\ArticleMutatorTrait
Show file Open project: scotteh/php-goose

Protected Properties

Property Type Description
$A_REL_TAG_SELECTOR string
$VIDEO_PROVIDERS string[]

Public Methods

Method Description
run ( Goose\Article $article )

Private Methods

Method Description
getLinks ( ) : string[] Pulls out links we like
getPopularWords ( ) : string[]
getTags ( ) : string[]
getVideos ( ) : string[] Pulls out videos we like

Method Details

run() public method

public run ( Goose\Article $article )
$article Goose\Article

Property Details

$A_REL_TAG_SELECTOR protected static property

protected static string $A_REL_TAG_SELECTOR
return string

$VIDEO_PROVIDERS protected static property

protected static string[] $VIDEO_PROVIDERS
return string[]