-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuda.by.php
38 lines (24 loc) · 1.04 KB
/
buda.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
38
<?php
$xhe_host ="127.0.0.1:7033";
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);
$tr="<p>"." ññûëêà ".$ks."</p>";
$textfile->add_string_to_file($file,$tr)."<br>";
$t="<p>"."\íàçâàíèå\ ".$h1->get_inner_text_by_number(0)."</p>";
$textfile->add_string_to_file($file,$t)."<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>";
$t="<p>".$h1->get_inner_text_by_number(0)."\îïèñàíèå\ ".$div->get_by_attribute("class","b-content__body b-user-content", false)->get_inner_text()."</p>";
$textfile->add_string_to_file($file,$t)."<br>";
$spn ="<p>".$h1->get_inner_text_by_number(0)."\öåíà\ ".$div->get_by_attribute("class","b-product__price-holder", false)->get_inner_text();
$textfile->add_string_to_file($file,$spn)."<br>";
$debug->optimize_memory()."<br>";
}
$app->shell_execute("",$file);
$app->quit();
?>