This commit is contained in:
logmanoriginal 2016-08-03 20:34:30 +02:00
parent da3127e31b
commit 47f382ce3f

View file

@ -17,7 +17,7 @@ class LeJournalDuGeekBridge extends BridgeAbstract{
function LeJournalDuGeekExtractContent($url) { function LeJournalDuGeekExtractContent($url) {
$articleHTMLContent = $this->file_get_html($url); $articleHTMLContent = $this->file_get_html($url);
$text = $text.$articleHTMLContent->find('div.post-content', 0)->innertext; $text = $articleHTMLContent->find('div.post-content', 0)->innertext;
foreach($articleHTMLContent->find('a.more') as $element) { foreach($articleHTMLContent->find('a.more') as $element) {
if ($element->innertext == "Source") { if ($element->innertext == "Source") {