Update PicoFeed

This commit is contained in:
Frederic Guillot 2017-11-01 21:17:45 -07:00
parent b8517b87c1
commit 60ae2db07f
41 changed files with 603 additions and 39 deletions

View File

@ -17,11 +17,12 @@
"fguillot/simple-validator": "v1.0.0", "fguillot/simple-validator": "v1.0.0",
"fguillot/json-rpc": "v1.2.3", "fguillot/json-rpc": "v1.2.3",
"fguillot/picodb": "v1.0.14 ", "fguillot/picodb": "v1.0.14 ",
"miniflux/picofeed": "v0.1.35", "miniflux/picofeed": "v0.1.37",
"pda/pheanstalk": "v3.1.0", "pda/pheanstalk": "v3.1.0",
"ircmaxell/password-compat": "^1.0.4" "ircmaxell/password-compat": "^1.0.4"
}, },
"require-dev": { "require-dev": {
"doctrine/instantiator": "1.0.5",
"phpdocumentor/reflection-docblock": "2.0.4", "phpdocumentor/reflection-docblock": "2.0.4",
"symfony/yaml": "2.8.7", "symfony/yaml": "2.8.7",
"symfony/stopwatch" : "2.6.13", "symfony/stopwatch" : "2.6.13",

28
composer.lock generated
View File

@ -4,8 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"hash": "3cc07606516c51a4d77e4fee5f6470b7", "hash": "28f9eb84727663bf083e4c4918edfd98",
"content-hash": "7a0eee4a959247fb9833c66ed8d1b775", "content-hash": "fe243937ea9284c188ac06f7ff6b4e85",
"packages": [ "packages": [
{ {
"name": "fguillot/json-rpc", "name": "fguillot/json-rpc",
@ -166,16 +166,16 @@
}, },
{ {
"name": "miniflux/picofeed", "name": "miniflux/picofeed",
"version": "v0.1.35", "version": "v0.1.37",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/miniflux/picoFeed.git", "url": "https://github.com/miniflux/picoFeed.git",
"reference": "3a27b47de31eedec075c719f961783c5db7a7b08" "reference": "402b7f07629577e7929625e78bc88d3d5831a22d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/miniflux/picoFeed/zipball/3a27b47de31eedec075c719f961783c5db7a7b08", "url": "https://api.github.com/repos/miniflux/picoFeed/zipball/402b7f07629577e7929625e78bc88d3d5831a22d",
"reference": "3a27b47de31eedec075c719f961783c5db7a7b08", "reference": "402b7f07629577e7929625e78bc88d3d5831a22d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -215,7 +215,7 @@
], ],
"description": "Modern library to handle RSS/Atom feeds", "description": "Modern library to handle RSS/Atom feeds",
"homepage": "https://github.com/miniflux/picoFeed", "homepage": "https://github.com/miniflux/picoFeed",
"time": "2017-06-20 22:54:47" "time": "2017-11-02 03:20:36"
}, },
{ {
"name": "pda/pheanstalk", "name": "pda/pheanstalk",
@ -419,22 +419,22 @@
}, },
{ {
"name": "phpspec/prophecy", "name": "phpspec/prophecy",
"version": "v1.7.0", "version": "v1.7.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpspec/prophecy.git", "url": "https://github.com/phpspec/prophecy.git",
"reference": "93d39f1f7f9326d746203c7c056f300f7f126073" "reference": "c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073", "url": "https://api.github.com/repos/phpspec/prophecy/zipball/c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6",
"reference": "93d39f1f7f9326d746203c7c056f300f7f126073", "reference": "c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"doctrine/instantiator": "^1.0.2", "doctrine/instantiator": "^1.0.2",
"php": "^5.3|^7.0", "php": "^5.3|^7.0",
"phpdocumentor/reflection-docblock": "^2.0|^3.0.2", "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
"sebastian/comparator": "^1.1|^2.0", "sebastian/comparator": "^1.1|^2.0",
"sebastian/recursion-context": "^1.0|^2.0|^3.0" "sebastian/recursion-context": "^1.0|^2.0|^3.0"
}, },
@ -445,7 +445,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.6.x-dev" "dev-master": "1.7.x-dev"
} }
}, },
"autoload": { "autoload": {
@ -478,7 +478,7 @@
"spy", "spy",
"stub" "stub"
], ],
"time": "2017-03-02 20:05:34" "time": "2017-09-04 11:05:03"
}, },
{ {
"name": "phpunit/dbunit", "name": "phpunit/dbunit",

View File

@ -265,17 +265,17 @@
}, },
{ {
"name": "miniflux/picofeed", "name": "miniflux/picofeed",
"version": "v0.1.35", "version": "v0.1.37",
"version_normalized": "0.1.35.0", "version_normalized": "0.1.37.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/miniflux/picoFeed.git", "url": "https://github.com/miniflux/picoFeed.git",
"reference": "3a27b47de31eedec075c719f961783c5db7a7b08" "reference": "402b7f07629577e7929625e78bc88d3d5831a22d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/miniflux/picoFeed/zipball/3a27b47de31eedec075c719f961783c5db7a7b08", "url": "https://api.github.com/repos/miniflux/picoFeed/zipball/402b7f07629577e7929625e78bc88d3d5831a22d",
"reference": "3a27b47de31eedec075c719f961783c5db7a7b08", "reference": "402b7f07629577e7929625e78bc88d3d5831a22d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -295,7 +295,7 @@
"suggest": { "suggest": {
"ext-curl": "PicoFeed will use cURL if present" "ext-curl": "PicoFeed will use cURL if present"
}, },
"time": "2017-06-20 22:54:47", "time": "2017-11-02 03:20:36",
"bin": [ "bin": [
"picofeed" "picofeed"
], ],

View File

@ -4,7 +4,7 @@ return array(
'%.*%' => array( '%.*%' => array(
'test_url' => 'http://www.nytimes.com/2011/05/15/world/middleeast/15prince.html', 'test_url' => 'http://www.nytimes.com/2011/05/15/world/middleeast/15prince.html',
'body' => array( 'body' => array(
'//div[@class="articleBody"]', '//p[contains(@class, "story-content")] | //div[@class="image"]',
), ),
) )
) )

View File

@ -0,0 +1,16 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://24.hu/belfold/2017/10/20/millios-lehuzasok-miatt-razziaztak-egy-budapesti-barban-videoval/',
'body' => array(
'//div[@class="post-title-wrapper"]/h1',
'//div[@class="post-header-wrapper has-img"]/img',
'//div[@class="post-body"]'
),
'strip' => array(
)
),
),
);

View File

@ -0,0 +1,19 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://444.hu/2017/10/20/tulszamlazo-helyen-utottek-rajta-budapest-belvarosaban',
'body' => array(
'//div[@id="headline"]/h1',
'//article'
),
'strip' => array(
'//article/footer',
'//article/div[@class="jeti-roadblock ad"]',
'//figcaption',
'//noscript',
'//ul[@class="widget-stream-items"]'
)
),
),
);

View File

@ -0,0 +1,16 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://888.hu/article-a-budapesti-szocik-nem-szeretik-a-videki-szocikat',
'body' => array(
'//div[@id="cikkholder"]/h1',
'//div[@class="maincontent8"]'
),
'strip' => array(
'//div[@class="AdW"]',
'//h1[@class="olvastadmar"]'
)
),
),
);

View File

@ -0,0 +1,18 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.atv.hu/belfold/20171020-tobb-millio-forintot-csalt-ki-egy-idos-ferfitol-a-budapesti-no',
'body' => array(
'//article'
),
'strip' => array(
'//span[@class="date"]',
'//div[@class="fb-like db_iframe_widget"]',
'//div[@class="ad-wrapper dashed-border"]',
'//div[@class="footer-meta-wrapper"]',
'//div[@class="image-wrapper "]'
)
),
),
);

View File

@ -0,0 +1,14 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://coinwelt.de/2017/08/bitcache-kreierer-kim-dotcom-bietet-arbeitsplaetze-fuer-blockchain-goetter/',
'body' => array(
'//div[@class="post-inner"]//div[@class="entry"]',
),
'strip' => array(
'//div[contains(@class, "shariff")]',
),
),
),
);

View File

@ -2,27 +2,17 @@
return array( return array(
'grabber' => array( 'grabber' => array(
'%.*%' => array( '%.*%' => array(
'test_url' => 'http://www.crash.net/motogp/interview/247550/1/exclusive-andrea-dovizioso-interview.html', 'test_url' => 'http://www.crash.net/motogp/news/885102/1/dovizioso-mugello-win-was-catalyst-for-title-challenge',
'body' => array( 'body' => array(
'//div[@id="content"]', '//*[@id="block-system-main"]',
), ),
'strip' => array( 'strip' => array(
'//script', '//script',
'//style', '//style',
'//*[@title="Social Networking"]', '//*[@class="social-bar"]',
'//*[@class="crash-ad2"]', '//*[@id="below-headline-image-ad"]',
'//*[@class="clearfix"]', '//*[@class="advert-"]',
'//*[@class="crash-ad2"]',
'//*[contains(@id, "divCB"]',
'//*[@class="pnlComment"]',
'//*[@class="comments-tabs"]',
'//*[contains(@class, "ad-twocol"]',
'//*[@class="stories-list"]',
'//*[contains(@class, "btn")]',
'//*[@class="content"]',
'//h3',
), ),
), ),
), ),
); );

View File

@ -0,0 +1,15 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.gamechannel.hu/cikk/hirblock/a-legacy-of-kain-feltamasztasara-keszul-a-crystal-dynamics',
'body' => array(
'//div[@class="post"]/div[@class="entry"]'
),
'strip' => array(
'//div[@class="valaszto"]',
'//center/blockquote' // as we can't grab iframe here
)
),
),
);

View File

@ -0,0 +1,17 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://www.gamestar.hu/hir/horizon-zero-dawn-the-frozen-wilds-vedjegy-239019.html',
'body' => array(
'//article/header/h1',
'//div[@class="section section-2-3"]/div[@class="image"]/img',
'//article/p[@class="lead"]',
'//article/div[@class="content"]'
),
'strip' => array(
'//div[@class="ad ad-article-inside"]'
)
),
),
);

View File

@ -0,0 +1,22 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://gondola.hu/hirek/213754-A_budapesti_fejlesztesek_kerdese_mar_nem_zsakbamacska.html',
'body' => array(
'//div[@id="cikk"]/div[@class="cim"]',
'//br[1]',
'//div[@class="alcim"]',
'//div[@class="lead"]',
'//div[@class="szoveg"]'
),
'strip' => array(
'//div[@class="ikonok"]',
'//div[@class="linkekblokk"]',
'//div[@id="billboardbanner"]',
'//div[@class="szerzo"]',
'//div[@class="kulcsszavak"]'
)
),
),
);

View File

@ -6,6 +6,7 @@ return array(
'body' => array( 'body' => array(
'//div[@class="meldung_wrapper"]', '//div[@class="meldung_wrapper"]',
'//div[@class="artikel_content"]', '//div[@class="artikel_content"]',
'//div[@class="article-content"]',
), ),
), ),
), ),

View File

@ -0,0 +1,14 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://hirek.prim.hu/cikk/2017/10/02/atadtak_a_6_fenntarthatosagi_sajtodijat',
'body' => array(
'//div[@class="boxbody article_box"]/h2',
'//div[@class="text_body"]'
),
'strip' => array(
)
),
),
);

View File

@ -0,0 +1,17 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://hvg.hu/brandchannel/mastercardbch_20171006_Egyetlen_mobillal_erintettuk_Budapest_legjobb_gasztrohelyeit',
'body' => array(
'//div[@class="article-title article-title"]',
'//div[@class="article-cover-img"]',
'//div[@class="article-main"]'
),
'strip' => array(
'//figcaption',
'//div[@class="article-info byline"]'
)
),
),
);

View File

@ -0,0 +1,18 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://www.idokep.hu/hirek/4-es-erossegu-tajfun-tart-japan-fele',
'body' => array(
'//div[@class="cikk-title"]/h3',
'//div[@class="lead"]',
'//div[@class="atvett_tartalom"]',
'//div[@class="cikk-tartalom"]'
),
'strip' => array(
'//div[@class="cimkes-doboz"]',
'//div[@class="komment-wrap"]'
)
),
),
);

View File

@ -0,0 +1,29 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://index.hu/mindekozben/poszt/2017/10/20/art_deco_budapest_varosnezo_zsebkonyv_bolla_zoltan/',
'body' => array(
'//div[@class="mindenkozben_post_content content"]',
'//div[@id="content"]'
),
'strip' => array(
'//div[@class="topszponzor_wrapper"]',
'//ul[@class="cikk-cimkek"]',
'//div[@class="author-share-date-container"]',
'//div[@class="pp-list"]',
'//div[@class="social-stripe cikk-bottom-box"]',
'//div[@class="cikk-bottom-text-ad"]',
'//a[@name="hozzaszolasok"]',
'//div[@class="cikk-vegi-ajanlo-reklamok-container"]',
'//div[@id="comments"]',
'//div[@class="comments"]',
'//div[@class="linkpreview-box bekezdes_utan"]',
'//div[@class="lapozo"]',
'//div[@class="szelso-jobb"]',
'//div[@class="social cikk-bottom-box"]',
'//input'
)
),
),
);

View File

@ -0,0 +1,25 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://inforadio.hu/belfold/2017/10/20/fontos_valtozas_vegleg_lezarnak_tobb_villamosatjarot_budapesten/',
'body' => array(
'//div[@class="content-title"]',
'//div[@class="szelso-jobb-lead_container"]',
'//div[@class="cikk-torzs"]'
),
'strip' => array(
'//div[@id="microsite_microsite"]',
'//div[@class="cikk-bottom-text-ad"]',
'//div[@class="social-stripe_container"]',
'//div[@class="facebook-like-box"]',
'//div[@class="rovat sargabg rovatdobozcim"]',
'//div[@class="m-okosradio_magazin arenaMagazineItem"]',
'//header[@class="m-okosradio_header"]',
'//div[@class="m-okosradio_elo"]',
'//div[@class="m-okosradio_container"]',
'//form'
)
),
),
);

View File

@ -0,0 +1,17 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.kisalfold.hu/szorakozas/egy_15_eves_srac_szuntetheti_meg_a_wc-parat_budapesten/2536699/',
'body' => array(
'//header[@class="single-article__header"]/h1',
'//header[@class="single-article__header"]/h2',
'//figure[@class="single-article__image"]/img',
'//div[@class="single-article__content"]/div[@id="single-article__lead"]',
'//div[@id="article_text"]'
),
'strip' => array(
)
),
),
);

View File

@ -0,0 +1,14 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://kiszamolo.hu/30-eve-volt-a-fekete-hetfo/',
'body' => array(
'//article/h2',
'//article/div[@class="entry clearfix"]/p'
),
'strip' => array(
)
),
),
);

View File

@ -0,0 +1,16 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.linux-magazin.de/Ausgaben/2017/09/AWS-Alternativen',
'body' => array(
'//div[@class="attribute-content"]/div[@class="attribute-intro"]',
'(//div[@class="attribute-image"])[1]',
'//div[@itemprop="articleBody"]',
),
'strip' => array(
'//p[@class="attribute-advice"]',
)
)
)
);

View File

@ -0,0 +1,11 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.maclife.de/news/neue-farbe-iphone-8-kommt-blush-gold-10094817.html',
'body' => array(
'//div[contains(@class, "article_wrapper")]/p | //div[contains(@class, "article_wrapper")]/h2 | //div[@class="gallery"]//figure | //div[contains(@class, "gallery_single")]//figure',
)
)
)
);

View File

@ -0,0 +1,21 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.magyarkurir.hu/hirek/a-vilagszerte-ismert-dicsoito-csapat-hillsong-young-free-lep-fel-budapesten',
'body' => array(
'//div[@class="behuzas"]'
),
'strip' => array(
'//div[@class="ikonsav"]',
'//p[@class="copyright"]',
'//div[@class="cimkek"]',
'//div[@id="footerbanner"]',
'//div[@class="rovat sargabg rovatdobozcim"]',
'//div[@class="rovatdoboz"]',
'//a[contains(., "Own")]',
'//a[@class="fblink"]'
)
),
),
);

View File

@ -0,0 +1,14 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://mno.hu/kulfold/elnokot-valasztanak-szloveniaban-2422840',
'body' => array(
'//div[@class="header"]/h1',
'//div[@class="content hircikk clearfix"]/p'
),
'strip' => array(
)
),
),
);

View File

@ -0,0 +1,18 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.nlcafe.hu/ezvan/20171021/nyugdijas-drogdilert-fogtak-a-ferencvarosi-rendorok/',
'body' => array(
'//div[@class="single-title"]',
'//div[@class="single-excerpt"]',
'//div[@class="single-post-container-content"]/p',
'//div[@class="single-post-container-content"]/div'
),
'strip' => array(
'//div[@class="widget-container related-articles bigdata-widget related-full"]',
'//div[@class="banner-container clear-banner-row clearfix"]'
)
),
),
);

View File

@ -0,0 +1,13 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://www.onlinekosten.de/news/android-8-0-die-neuen-features-im-ueberblick_209619.html?utm_source=rss&utm_medium=feed&utm_campaign=android-8-0-die-neuen-features-im-ueberblick',
'body' => array(
'//p[@class="cms-widget_article_lead"]',
'//img[@class="bec_img"]',
'//div[@class="cms-widget_article_body"]',
),
)
)
);

View File

@ -0,0 +1,14 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.origo.hu/itthon/20171019-hamisan-tanuskodott-az-ugyved-ezert-nem-praktizalhat.html',
'body' => array(
'//header[@id="article-head"]/h1',
'//article[@id="article-center"]'
),
'strip' => array(
)
),
),
);

View File

@ -0,0 +1,16 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.pcgameshardware.de/Dragon-Age-Thema-259929/News/Plaene-fuer-Teil-4-und-5-der-Serie-1235682/',
'body' => array(
'//p[@class="introText"]',
'//figure[contains(@class, "articleBigTeaser")]',
'//div[@id="articleTextBody"]//p | //div[@id="articleTextBody"]//h2[@class="anchorHeadline"]',
),
'strip' => array(
'//p[@class="introText"]//time',
)
)
)
);

View File

@ -0,0 +1,15 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.portfolio.hu/gazdasag/mennybe-vagy-pokolba-megy-ma-a-cseh-trump.265833.html',
'body' => array(
'//div[@id="cikk"]/h1',
'//div[@class="smscontent"]'
),
'strip' => array(
'//div[@class="traderhirdetes ga_viewanalytics"]'
)
),
),
);

View File

@ -4,7 +4,10 @@ return array(
'%.*%' => array( '%.*%' => array(
'test_url' => 'http://www.spiegel.de/politik/ausland/afrika-angola-geht-gegen-islam-vor-und-schliesst-moscheen-a-935788.html', 'test_url' => 'http://www.spiegel.de/politik/ausland/afrika-angola-geht-gegen-islam-vor-und-schliesst-moscheen-a-935788.html',
'body' => array( 'body' => array(
'//div[contains(@class, "article-section")]', '//div[@class="spArticleContent"]/p | //div[@class="spArticleContent"]//img[@class="spResponsiveImage "]',
),
'strip' => array(
'//div[@class="author-details"]',
), ),
), ),
), ),

View File

@ -5,7 +5,7 @@ return array(
'test_url' => 'http://techcrunch.com/2013/08/31/indias-visa-maze/', 'test_url' => 'http://techcrunch.com/2013/08/31/indias-visa-maze/',
'body' => array( 'body' => array(
'//div[contains(@class, "media-container")]', '//div[contains(@class, "media-container")]',
'//div[@class="body-copy"]', '//div[contains(@class, "article-entry")]',
), ),
'strip' => array( 'strip' => array(
'//*[contains(@class, "module-crunchbase")]', '//*[contains(@class, "module-crunchbase")]',

View File

@ -0,0 +1,18 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://www.theregister.co.uk/2017/10/21/purism_cleanses_laptops_of_intel_management_engine/',
'body' => array(
'//div[@id="article"]',
),
'strip' => array(
'//div[@class="byline_and_share"]',
'//div[@class="social_btns alt_colour dcl"]',
'//div[@class="promo_article"]',
'//div[@id="article_body_btm"]',
'//p[@class="wptl btm"]'
)
),
),
);

View File

@ -0,0 +1,16 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://www.theverge.com/2017/10/20/16512178/alphabet-project-loon-puerto-rico-lte-balloons-disaster-relief-connectivity',
'body' => array(
'//div[@class="c-entry-hero__header-wrap"]',
'//span[@class="e-image__inner"]',
'//div[@class="c-entry-content"]',
),
'strip' => array(
'//div[@class="c-entry-hero__meta"]',
)
),
),
);

View File

@ -0,0 +1,18 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://totalcar.hu/tesztek/2017/10/21/veteran_fiat-abarth_1000tc_1968/',
'body' => array(
'//div[@class="content-title"]',
'//div[@class="lead-container"]/div[@class="lead"]',
'//div[@class="cikk-torzs"]'
),
'strip' => array(
'//span[@class="gallery_title newline"]',
'//div[@class="social-stripe cikk-bottom-box"]',
'//div[@class="cikk-bottom-text-ad"]'
)
),
),
);

View File

@ -0,0 +1,15 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.tozsdeforum.hu/szemelyes-penzugyek/napi-penzugyek/ezek-a-legnepszerubb-turistacelpontok-voltal-mar-mindenhol-87181.html',
'body' => array(
'//header/h1',
'//div[@class="title_img"]',
'//article/div[@class="tf-post"]/div[@class="p"]/p|//article/div[@class="tf-post"]/div[@class="p"]/h3|//article/div[@class="tf-post"]/div[@class="p"]/blockquote'
),
'strip' => array(
)
),
),
);

View File

@ -0,0 +1,17 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://travelo.hu/csaladbarat/2017/10/20/mar_csak_egy_het_es_kezdodik_az_oszi_szunet/',
'body' => array(
'//div[@id="content"]/h1',
'//div[@id="kopf"]',
'//div[@id="szoveg"]'
),
'strip' => array(
'//div[@class="goAdverticum"]',
'//h1[@class="border"]'
)
),
),
);

View File

@ -0,0 +1,20 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://tutorialzine.com/2017/10/15-interesting-javascript-and-css-libraries-for-october-2017',
'body' => array(
'//article'
),
'strip' => array(
'//div[@class="article__header"]',
'//div[@class="article__share"]',
'//div[@class="article__footer"]',
'//div[@id="article__related-articles"]',
'//div[@class="webappstudio-animation"]',
'//div[@class="ad-container adsbygoogle hidden-xs hidden-sm"]',
'//script'
)
),
),
);

View File

@ -0,0 +1,20 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.vezess.hu/hirek/2017/10/20/audi-a7-2018-bemutato/',
'body' => array(
'//article[@id="news"]/h1',
'//article[@id="news"]/h2',
'//article[@id="news"]/p[@class="lead"]',
'//article[@id="news"]/p[@class="main-pic responsive-img-container"]',
'//div[@class="article-body"]'
),
'strip' => array(
'//div[@class="info-bar"]',
'//ul[@class="breadcrumb"]',
'//div[@class="embed-link ce_widget"]'
)
),
),
);

View File

@ -0,0 +1,19 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://zarojel.hu/meg-egyszer-a-foldi-ugyrol-is/',
'body' => array(
'//div[@class="entry-category"]/h1',
'//div[@class="entry-content"]/div[@class="vc_row wpb_row vc_row-fluid"]'
),
'strip' => array(
'//ins[@class="adsbygoogle"]',
'//script',
'//figcaption',
'//p[contains(text(),"Kapcsolódó")]',
'//div[@class="wpb_wrapper"]/p[@class="entry-title"]'
)
),
),
);

View File

@ -0,0 +1,17 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://zoom.hu/2017/10/20/mar-nem-nyomoznak-a-vegrehajtok-botranyai-miatt',
'body' => array(
'//div[@class="title-wrapper"]/h1',
'//div[@class="entry-excerpt"]',
'//div[@class="thumbnail-wrapper"]',
'//div[@id="entry-content-id"]'
),
'strip' => array(
'//div[@class="place first normal"]'
)
),
),
);