28 lines
1.2 KiB
PHP
28 lines
1.2 KiB
PHP
<?php
|
|
return array(
|
|
'grabber' => array(
|
|
'%.*%' => array(
|
|
'test_url' => 'http://www.wausaudailyherald.com/story/news/2017/04/01/hundreds-gather-remember-attorney-killed-shooting-spree/99826062/?from=global&sessionKey=&autologin=',
|
|
'body' => array(
|
|
'//div[@itemprop="articleBody"]',
|
|
),
|
|
'strip' => array(
|
|
'//h1',
|
|
'//iframe',
|
|
'//span[@class="mycapture-small-btn mycapture-btn-with-text mycapture-expandable-photo-btn-small js-mycapture-btn-small"]',
|
|
'//div[@class="close-wrap"]',
|
|
'//div[contains(@class,"ui-video-wrapper")]',
|
|
'//div[contains(@class,"media-mob")]',
|
|
'//div[contains(@class,"left-mob")]',
|
|
'//div[contains(@class,"nerdbox")]',
|
|
'//p/span',
|
|
'//div[contains(@class,"oembed-asset")]',
|
|
'//*[contains(@class,"share")]',
|
|
'//div[contains(@class,"gallery-asset")]',
|
|
'//div[contains(@class,"oembed-asset")]',
|
|
'//div[@class="article-print-url"]',
|
|
),
|
|
),
|
|
),
|
|
);
|