[TheHackerNews] Fix Author name cleanup
This commit is contained in:
parent
01cc32a0cc
commit
90e9c9962a
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue