-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnm-shop.by.php
30 lines (22 loc) · 978 Bytes
/
nm-shop.by.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
$xhe_host ="127.0.0.1:7077";
require("C:\XWeb\Human Emulator Free\Templates\xweb_human_emulator.php");
$keys = file("C:\\1.txt");
$file = "C:\\1.html";
for($ii=0;$ii<count($keys);$ii++)
{
$ks = trim($keys[$ii]);
$browser->navigate($ks);
$debug->optimize_memory();
$tr="<p>"." ññûëêà ".$ks."</p>";
$textfile->add_string_to_file($file,$tr)."<br>";
$t="<p>".$h1->get_inner_text_by_number(0)." \îïèñàíèå\ ".$div->get_by_attribute("class","tab-pane active", false)->get_inner_text();
$textfile->add_string_to_file($file,$t);
$spn ="<p>".$h1->get_inner_text_by_number(0)." \öåíà\ ".$span->get_by_attribute("class","price-new", false)->get_inner_text()." \öåíà ñòàðàÿ\ ".$span->get_by_attribute("class","price-old", false)->get_inner_text();
$textfile->add_string_to_file($file,$spn);
$t="<p>".$h1->get_inner_text_by_number(0)." \ôîòî\ ".$image->get_src_by_number(109)."</p>";
$textfile->add_string_to_file($file,$t);
}
$app->shell_execute("",$file);
$app->quit();
?>