miniflux-legacy/vendor/fguillot/picofeed/lib/PicoFeed/Rules/fossbytes.com.php

19 lines
803 B
PHP
Raw Normal View History

2016-02-10 02:30:07 +01:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://fossbytes.com/fbi-hacked-1000-computers-to-shut-down-largest-child-pornography-site-on-the-dark-web/',
'body' => array(
'//div[@class="entry-inner"]',
),
'strip' => array(
'//*[@class="at-above-post addthis_default_style addthis_toolbox at-wordpress-hide"]',
'//*[@class="at-below-post addthis_default_style addthis_toolbox at-wordpress-hide"]',
'//*[@class="at-below-post-recommended addthis_default_style addthis_toolbox at-wordpress-hide"]',
'//*[@class="code-block code-block-12 ai-desktop"]',
'//*[@class="code-block code-block-13 ai-tablet-phone"]',
),
),
),
2017-04-05 22:05:48 +02:00
);