-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwww.postroyka.by.php
37 lines (29 loc) · 1.18 KB
/
www.postroyka.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
31
32
33
34
35
36
37
<?php
$xhe_host ="127.0.0.1:7025";
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()."<br>";
$tr="<p>"." ññûëêà ".$ks."</p>";
$textfile->add_string_to_file($file,$tr)."<br>";
$debug->optimize_memory()."<br>";
$t="<p>"." \íàçâàíèå\ ".$h1->get_inner_text_by_number(0)."</p>";
$textfile->add_string_to_file($file,$t)."<br>";
$debug->optimize_memory()."<br>";
$t="<p>".$h1->get_inner_text_by_number(0)." \ôîòî\ ".$image->get_src_by_number(3)."</p>";
$textfile->add_string_to_file($file,$t)."<br>";
$debug->optimize_memory()."<br>";
$t="<p>".$h1->get_inner_text_by_number(0)." \îïèñàíèå\ ".$div->get_by_attribute("class","description_blk", false)->get_inner_text()."</p>";
$textfile->add_string_to_file($file,$t)."<br>";
$debug->optimize_memory()."<br>";
$spn ="<p>".$h1->get_inner_text_by_number(0)." \öåíà\ ".$div->get_by_attribute("class","base-price", false)->get_inner_text();
$textfile->add_string_to_file($file,$spn)."<br>";
$debug->optimize_memory()."<br>";
}
$app->shell_execute("",$file);
$app->quit();
?>