2013-08-31 17:05:45 +02:00
|
|
|
<?php
|
|
|
|
return array(
|
2015-04-28 18:08:42 +02:00
|
|
|
'grabber' => array(
|
|
|
|
'%.*%' => array(
|
|
|
|
'test_url' => 'http://online.wsj.com/article/SB10001424127887324108204579023143974408428.html',
|
|
|
|
'body' => array(
|
|
|
|
'//div[@class="articlePage"]',
|
|
|
|
),
|
|
|
|
'strip' => array(
|
|
|
|
'//*[@id="articleThumbnail_2"]',
|
|
|
|
'//*[@class="socialByline"]',
|
|
|
|
)
|
|
|
|
)
|
2013-08-31 17:05:45 +02:00
|
|
|
)
|
|
|
|
);
|