Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
OmairXcluesiv committed Feb 3, 2017
1 parent f96c682 commit 6c3de4d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scraper.php
Expand Up @@ -19,8 +19,13 @@
//*[contains(@class, '$classname')]

$r = $dom->find("a.vip['title']");
$str = $r;
echo html_entity_decode($str);

echo strip_tags($r);
echo "\n";

// Allow <p> and <a>
echo strip_tags($r, '<p><a>');

// print $r[0]->plaintext. "<br>";


Expand Down

0 comments on commit 6c3de4d

Please sign in to comment.