This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
rangitaki/vendor/fguillot/picofeed/lib/PicoFeed/Rules/hotshowlife.com.php

24 lines
809 B
PHP
Raw Normal View History

2016-12-30 00:04:12 +01:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://hotshowlife.com/top-10-chempionov-produktov-po-szhiganiyu-kalorij/',
'body' => array(
'//div[@class="entry-content"]',
),
'strip' => array(
'//script',
'//form',
'//style',
'//div[@class="ads2"]',
'//div[@class="mistape_caption"]',
'//div[contains(@class, "et_social_media_hidden")]',
'//div[contains(@class, "et_social_inline_bottom")]',
'//div[contains(@class, "avatar")]',
'//ul[contains(@class, "entry-tags")]',
'//div[contains(@class, "entry-meta")]',
),
),
),
);