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.networkworld.com/article/2986764/smartphones/samsung-tried-to-troll-apple-fans-waiting-in-line-for-the-iphone-6s.html#tk.rss_all',
|
|
|
|
'body' => array(
|
2015-10-24 00:06:09 +02:00
|
|
|
'//figure/img[@class="hero-img"]',
|
2015-10-18 23:31:23 +02:00
|
|
|
'//section[@class="deck"]',
|
|
|
|
'//div[@itemprop="articleBody"]',
|
|
|
|
),
|
|
|
|
'strip' => array(
|
|
|
|
'//aside',
|
|
|
|
),
|
2015-10-20 04:49:30 +02:00
|
|
|
),
|
|
|
|
),
|
2015-10-18 23:31:23 +02:00
|
|
|
);
|