mirror of
https://github.com/hnhx/librex.git
synced 2025-04-29 14:09:27 -04:00
image result URLs are now checked for privacy friently frontends
This commit is contained in:
parent
14a70acf2a
commit
76dffa22fa
1 changed files with 2 additions and 0 deletions
|
@ -13,7 +13,9 @@
|
|||
foreach($xpath->query("//div[@class='isv-r PNCib MSM1fd BUooTd']") as $result)
|
||||
{
|
||||
$image = $xpath->evaluate(".//img[@data-src]", $result)[0];
|
||||
|
||||
$url = $xpath->evaluate(".//a/@href", $result)[0]->textContent;
|
||||
$url = check_for_privacy_frontend($url);
|
||||
|
||||
if (!empty($image))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue