[TheHackerNews] Fix Author name cleanup

This commit is contained in:
ORelio 2020-03-25 23:57:22 +01:00
parent 01cc32a0cc
commit 90e9c9962a
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ class TheHackerNewsBridge extends BridgeAbstract {
$article_url = $element->find('a.story-link', 0)->href;
$article_author = trim($element->find('i.icon-user', 0)->parent()->plaintext);
$article_author = str_replace('', '', $article_author);
$article_title = $element->find('h2.home-title', 0)->plaintext;
//Date without time