2015-10-18 23:31:23 +02:00
|
|
|
<?php
|
2015-10-20 04:49:30 +02:00
|
|
|
|
2015-10-18 23:31:23 +02:00
|
|
|
return array(
|
|
|
|
'grabber' => array(
|
|
|
|
'%.*%' => array(
|
|
|
|
'test_url' => 'http://www.upi.com/Top_News/US/2015/09/26/Tech-giants-Hollywood-stars-among-guests-at-state-dinner-for-Chinas-Xi-Jinping/4541443281006/',
|
|
|
|
'body' => array(
|
|
|
|
'//div[@class="img"]',
|
2015-12-16 01:26:15 +01:00
|
|
|
'//div/article[@itemprop="articleBody"]',
|
2015-10-18 23:31:23 +02:00
|
|
|
),
|
|
|
|
'strip' => array(
|
|
|
|
'//div[@align="center"]',
|
|
|
|
),
|
2015-10-20 04:49:30 +02:00
|
|
|
),
|
|
|
|
),
|
2015-10-18 23:31:23 +02:00
|
|
|
);
|