-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paths.php
43 lines (26 loc) · 1.07 KB
/
s.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
39
40
41
42
43
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<?php
require 'C:\xampp\htdocs\s\simple_html_dom.php';
// Create DOM from URL or file
$html = file_get_html('http://shenzhen.anjuke.com/prop/view/227918467');
//echo file_get_html('http://shenzhen.anjuke.com/prop/view/227918467')->plaintext;
//$ret = file_get_html('http://shenzhen.anjuke.com/prop/view/227918467')->find('div[.container]');
//$ret = $html->find('div[id=broker_name broker_margin_10]');
$ret = file_get_html('http://shenzhen.anjuke.com/prop/view/227918467')->find('.broker_name broker_margin_10');
//echo $ret->plaintext;
$main = $html->find('div.broker_name',0)->content;
//echo $main;
echo 'done';
include_once('simple_html_dom.php');
//$domain = "http://epg.tvsou.com";
$target_url = "http://shenzhen.anjuke.com/prop/view/227918467";
$html = new simple_html_dom();
$html->load_file($target_url);
// 查找channel
print_r($html->find('div[class=broker_icon]'));
<<<<<<< HEAD
//this is the fuck add
=======
//this is develop add
>>>>>>> develop
?>