21 lines
670 B
PHP
21 lines
670 B
PHP
<?php
|
|
|
|
return array(
|
|
'grabber' => array(
|
|
'%.*%' => array(
|
|
'test_url' => 'http://www.networkworld.com/article/2986764/smartphones/samsung-tried-to-troll-apple-fans-waiting-in-line-for-the-iphone-6s.html#tk.rss_all',
|
|
'body' => array(
|
|
'//figure/img[@class="hero-img"]',
|
|
'//section[@class="deck"]',
|
|
'//div[@itemprop="articleBody"] || //div[@itemprop="reviewBody"]',
|
|
'//div[@class="carousel-inside-crop"]',
|
|
),
|
|
'strip' => array(
|
|
'//aside',
|
|
'//div[@class="credit"]',
|
|
'//div[@class="view-large"]',
|
|
),
|
|
),
|
|
),
|
|
);
|