19 lines
536 B
PHP
19 lines
536 B
PHP
<?php
|
|
return array(
|
|
'grabber' => array(
|
|
'%.*%' => array(
|
|
'test_url' => 'https://medium.com/lessons-learned/917b8b63ae3e',
|
|
'body' => array(
|
|
'//div[contains(@class,"section-inner")]',
|
|
),
|
|
'strip' => array(
|
|
'//div[contains(@class,"metabar")]',
|
|
'//img[contains(@class,"thumbnail")]',
|
|
'//h1',
|
|
'//blockquote',
|
|
'//p[contains(@class,"graf-after--h4")]'
|
|
),
|
|
),
|
|
),
|
|
);
|