PHP uses QueryList to capture web page content. Querylist captures
. Previously, Java Jsoup was used to capture web page data, before I heard for a few days that it is more convenient to use PHP, so I did a brief research today, mainly using QueryList to achieve it.
QueryList is a general list collection class based on phpQuery. It is a simple, flexible, Powerful collection tool, collecting any complex page can basically be done in one sentence.
Let’s just take Blog Park as an example, http://www.cnblogs.com/ We use QueryList to capture the content in the red box

View the source code of the webpage to find the location of the red box

1 div id="post_list">
2
3 div class="post_item">
4 div class="digg">
5 div class="diggit" onclick="DiggPost('jr1993',4716308,222703,1)">
6 span class="diggnum" id="digg_count_4716308">0span>
7 div>
8 div class="clear">div>
9 div id="digg_tip_4716308" class="digg_tip">div>
10 div>
11 div class="post_item_body">
12 h3>a class="titlelnk" href="http://www.cnblogs.com/jr1993/p/4716308.html" target="_blank">简单的jQuery 四级分类实用插件a>h3>
13 p class="post_item_summary">
14 a href="http://www.cnblogs.com/jr1993/" target="_blank">img width="48" height="48" class="pfs" src="http://www.bkjia.com/uploads/allimg/150830/1Z34K504-2.png" alt="">a> 前言最近因需要自己封装了一个很简单的四级分类的jQuery插件,主要用于后台数据的传输和获取。接下来就分享一下这个实用的插件吧。The old rules of the text, let’s take a look at the effect first. This one is very ugly and not beautified, because it is mainly used for the background interface. Please ignore the content of the test data: Then let’s introduce how to use it: First, the html code: . ..
15 p>
16 div class="post_item_foot">
17 a href="http://www.cnblogs.com/jr1993/" class="lightblue">Kwok Jinronga>
18 Published on 2015-08-09 20:40
19 span class="article_comment">a href="http://www.cnblogs.com/jr1993/p/4716308.html#commentform" title="" class="gray">
20 Comments (0)a>span> span class="article_view">a href ="http://www.cnblogs.com/jr1993/p/4716308.html" class="gray"> ;Read(21)a>span> div>
21 div>
22 div class="clear"> div>
23 div>
24 div class="post_item">
25 div class="digg">
26 div class="diggit" onclick= "DiggPost('maybe2030',4715035,229915,1)">
27 span class="diggnum" id= "digg_count_4715035">0span>
28 div>
29 div class="clear"> div>
30 div id="digg_tip_4715035" class= "digg_tip">div>
31 div>
32 div class="post_item_body">
33 h3>a class= "titlelnk" href="http://www.cnblogs.com/maybe2030/p/4715035.html" target= "_blank">[Data Structure & Algorithm] Seven search algorithmsa >h3>
34 p class="post_item_summary">
35 a href="http://www.cnblogs.com/maybe2030/" target="_blank">img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/764050/20150531155648.png" alt="">a> Like the sorting algorithm, the search algorithm is also the most basic algorithm. Efficient search can enable us to operate data more efficiently, and proficiency in various search algorithms is also a basic algorithm skill. 36 p>
37 div class="post_item_foot">
38 a href="http://www.cnblogs.com/maybe2030/" class="lightblue">Poll的笔记a>
39 发布于 2015-08-09 20:27
40 span class="article_comment">a href="http://www.cnblogs.com/maybe2030/p/4715035.html#commentform" title="" class="gray">
41 评论(0)a>span>span class="article_view">a href="http://www.cnblogs.com/maybe2030/p/4715035.html" class="gray">阅读(12)a>span>div>
42 div>
43 div class="clear">div>
44 div>
45 div class="post_item">
46 div class="digg">
47 div class="diggit" onclick="DiggPost('zhanggui',4716267,191738,1)">
48 span class="diggnum" id="digg_count_4716267">0span>
49 div>
50 div class="clear">div>
51 div id="digg_tip_4716267" class="digg_tip">div>
52 div>
53 div class="post_item_body">
54 h3>a class="titlelnk" href="http://www.cnblogs.com/zhanggui/p/4716267.html" target="_blank">第二章、进程的描述与控制a>h3>
55 p class="post_item_summary">
56 a href="http://www.cnblogs.com/zhanggui/" target="_blank">img width="48" height="48" class="pfs" src="http://pic.cnblogs.com/face/527522/20140908182900.png" alt="">a> 第二章、进程的描述与控制====##2.1 前趋图和程序执行### 2.1.1 前趋图####概念:所谓前趋图:指一个有向无循环图(DAG),它用于描述进程之间执行的先后顺序。###2.1.2 Program sequential execution#### Features: * Sequentiality * Closedness: It means that the program runs in a closed environment, and the program exclusively occupies the entire machine's resources when it is running, and the status of the resources...
57 p>
58 div class="post_item_foot">
59 a href="http://www.cnblogs.com/zhanggui/" class="lightblue">Scottzga>
60 Published on 2015-08-09 20:24
61 span class="article_comment">a href="http://www.cnblogs.com/zhanggui/p/4716267.html#commentform" title="" class="gray">
62 Comments (0)a>span> span class="article_view">a href ="http://www.cnblogs.com/zhanggui/p/4716267.html" class="gray"> ;Read(17)a>span> div>
63 div>
64 div class="clear"> div>
65 div>
66 div class="post_item">
67 div class="digg">
68 div class="diggit" onclick= "DiggPost('lubiao',4716200,158099,1)">
69 span class="diggnum" id= "digg_count_4716200">0span>
70 div>
71 div class="clear"> div>
72 div id="digg_tip_4716200" class= "digg_tip">div>
73 div>
74 div class="post_item_body">
75 h3>a class= "titlelnk" href="http://www.cnblogs.com/lubiao/p/4716200.html" target= "_blank">Raspberry Pi Getting Started Notesa>h3 >
76 p class="post_item_summary">
77 a href="http://www.cnblogs.com/lubiao/" target="_blank">img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/550600/20150808222928.png" alt="">a> 1. A simple understanding of the concept of open source hardware is that the detailed design parameters of electronic hardware are public, such as circuit diagrams, bill of materials, PCB layout, etc.Main types: Arduino, CubieBoard, RaspberryPi, PcDuino, BeagleBone, KiWIBoard and Mixteil Open Source Chinese Community - Open Source Hardware Zone http://ww...
78 p>
79 div class="post_item_foot">
80 a href="http://www.cnblogs.com/lubiao/" class="lightblue">clbiaoa>
81 Published on 2015-08-09 20:05
82 span class="article_comment">a href="http://www.cnblogs.com/lubiao/p/4716200.html#commentform" title="" class="gray">
83 Comments (0)a>span> span class="article_view">a href ="http://www.cnblogs.com/lubiao/p/4716200.html" class="gray"> ;Read(59)a>span> div>
84 div>
85 div class="clear"> div>
86 div>
87 div class="post_item">
88 div class="digg">
89 div class="diggit" onclick= "DiggPost('xiaoheimiaoer',4716191,124701,1)">
90 span class="diggnum" id= "digg_count_4716191">0span>
91 div>
92 div class="clear"> div>
93 div id="digg_tip_4716191" class= "digg_tip">div>
94 div>
95 div class="post_item_body">
96 h3>a class= "titlelnk" href="http://www.cnblogs.com/xiaoheimiaoer/p/4716191.html" target= "_blank">JS listening key combinationa>h3>
97 p class="post_item_summary">
98 a href="http://www.cnblogs.com/xiaoheimiaoer/" target="_blank">img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/435330/20140328110126.png" alt="">a> Sometimes, we need to add some shortcut keys on the web page to facilitate users to use some common operations, such as: save, undo, copy, paste, etc.Let’s briefly sort out the ideas: The keys we are familiar with have such concentrated types: single key operations, such as: delete, up, down and other two-digit combinations, such as: ctrl (cmd) other keys, alt other keys, shift.. .
99 p>
100 div class="post_item_foot">
101 a href="http://www.cnblogs.com/xiaoheimiaoer/" class="lightblue">Black MAOa>
102 Published on 2015-08-09 19:59
103 span class="article_comment">a href="http://www.cnblogs.com/xiaoheimiaoer/p/4716191.html#commentform" title="" class="gray">
104 Comments (0)a>span> span class="article_view">a href ="http://www.cnblogs.com/xiaoheimiaoer/p/4716191.html" class="gray"> ;Read(36)a>span> div>
105 div>
106 div class="clear"> div>
107 div>
108 div class="post_item">
109 div class="digg">
110 div class="diggit" onclick= "DiggPost('QG-whz',4716139,205933,1)">
111 span class="diggnum" id= "digg_count_4716139">0span>
112 div>
113 div class="clear"> div>
114 div id="digg_tip_4716139" class= "digg_tip">div>
115 div>
116 div class="post_item_body">
117 h3>a class= "titlelnk" href="http://www.cnblogs.com/QG-whz/p/4716139.html" target="_blank">C copy constructor from a compiler perspectivea>h3>
118 p class="post_item_summary">
119 a href="http://www.cnblogs.com/QG-whz/" target="_blank">img width="48" height="48" class="pfs" src="http ://pic.cnblogs.com/face/610439/20150502210248.png" alt=""> a> #[C Object Model] Construction operation of copy constructor For a brief introduction to copy constructor, you can read an article I wrote before [C++Copy Control] Copy Constructor](http://www.cnblogs.com/QG-whz/p/4485574.html "C Copy Control Copy Constructor") This article introduces the definition, calling timing, and... .
120 p>
121 div class="post_item_foot">122 a href="http://www.cnblogs.com/QG-whz/" class="lightblue">melonstreeta>
123 发布于 2015-08-09 19:44
124 span class="article_comment">a href="http://www.cnblogs.com/QG-whz/p/4716139.html#commentform" title="" class="gray">
125 评论(0)a>span>span class="article_view">a href="http://www.cnblogs.com/QG-whz/p/4716139.html" class="gray">阅读(41)a>span>div>
126 div>
127 div class="clear">div>
128 div>
129 div class="post_item">
130 div class="digg">
131 div class="diggit" onclick="DiggPost('advances',4716089,238649,1)">
132 span class="diggnum" id="digg_count_4716089">1span>
133 div>
134 div class="clear">div>
135 div id="digg_tip_4716089" class="digg_tip">div>
136 div>
137 div class="post_item_body">
138 h3>a class="titlelnk" href="http://www.cnblogs.com/advances/p/4716089.html" target="_blank">【Cocos2d入门教程三】HelloWorld之一目了然a>h3>
139 p class="post_item_summary">
140 a href="http://www.cnblogs.com/advances/" target="_blank">img width="48" height="48" class="pfs" src="http://pic.cnblogs.com/face/794244/20150804212641.png" alt="">a> 什么程序都是从HelloWorld先开始。同样Cocos2d-x我们先从HelloWorld进行下手、下面是HelloWorld的运行完成图:建立好的Cocos游戏项目中会有两个比较常用接触的文件夹。分别为Classes与resource。Classes access code files, resource access resource files, next...
141 p>
142 div class="post_item_foot">
143 a href="http://www.cnblogs.com/advances/" class="lightblue">Cai Mingyonga>
144 Published on 2015-08-09 19:27
145 span class="article_comment">a href="http://www.cnblogs.com/advances/p/4716089.html#commentform" title="2015-08-09 20:37" class="gray">
146 Comments (5)a>span> span class="article_view">a href ="http://www.cnblogs.com/advances/p/4716089.html" class="gray"> ;Read(65)a>span> div>
147 div>
148 div class="clear"> div>
149 div>
150 div class="post_item">
151 div class="digg">
152 div class="diggit" onclick= "DiggPost('kodoyang',4715572,180900,1)">
153 span class="diggnum" id= "digg_count_4715572">0span>
154 div>
155 div class="clear"> div>
156 div id="digg_tip_4715572" class= "digg_tip">div>
157 div>
158 div class="post_item_body">
159 h3>a class= "titlelnk" href="http://www.cnblogs.com/kodoyang/p/MonteCarloMethod_PI.html" target= "_blank">Monte Carlo method to calculate pia> h3>
160 p class="post_item_summary">
161 a href="http://www.cnblogs.com/kodoyang/" target="_blank">img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/618527/20150809193301.png" alt="">a> In order to avoid the calculation time exceeding ten seconds, the sample value is arbitrarily reduced. [Calculation of all pixels in the square] is calculated a total of 10^8 times. When the same number of times is calculated in [Calculation of random pixels in the square], it will fall into waiting. I guess the reason is that a lot of time is wasted when obtaining random numbers, or it may be that too many loops consume time.[Average of random pixels in a square] China and Pakistan 10^8 are divided into 10 calculations...
162 p>
163 div class="post_item_foot">
164 a href="http://www.cnblogs.com/kodoyang/" class="lightblue">kodoyanga>
165 Published on 2015-08-09 19:24
166 span class="article_comment">a href="http://www.cnblogs.com/kodoyang/p/MonteCarloMethod_PI.html#commentform" title="" class="gray">
167 Comments (0)a>span> span class="article_view">a href ="http://www.cnblogs.com/kodoyang/p/MonteCarloMethod_PI.html" class="gray"> ;Read(48)a>span> div>
168 div>
169 div class="clear"> div>
170 div>
171 div class="post_item">
172 div class="digg">
173 div class="diggit" onclick= "DiggPost('xyczero',4716019,198864,1)">
174 span class="diggnum" id= "digg_count_4716019">0span>
175 div>
176 div class="clear"> div>
177 div id="digg_tip_4716019" class= "digg_tip">div>
178 div>
179 div class="post_item_body">
180 h3>a class= "titlelnk" href="http://www.cnblogs.com/xyczero/p/4716019.html" target= "_blank">Implementation of Android night mode (multiple themes)a>h3>
181 p class="post_item_summary">
182 a href="http://www.cnblogs.com/xyczero/" target="_blank">img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/674691/20140930230333.png" alt="">a> ##Introduction Night mode is actually a type of multi-theme switching, but it is the most troublesome one. Because in night mode, you not only need to switch the main color, secondary color, etc., but also cover some special colors, because in night mode, everything cannot be black, otherwise it will be ugly. -, so when you complete the night mode, your App can easily handle future expansion of multiple themes.##Implementation ideas Most Apps should not be implemented due to historical reasons...
183 p>
184 div class="post_item_foot">
185 a href="http://www.cnblogs.com/xyczero/" class="lightblue">xyczeroa>
186 Published on 2015-08-09 18:40
187 span class="article_comment">a href="http://www.cnblogs.com/xyczero/p/4716019.html#commentform" title="" class="gray">
188 Comments (0)a>span> span class="article_view">a href ="http://www.cnblogs.com/xyczero/p/4716019.html" class="gray"> ;Read(78)a>span> div>
189 div>
190 div class="clear"> div>
191 div>
192 div class="post_item">
193 div class="digg">
194 div class="diggit" onclick= "DiggPost('xishuai',4715000,124657,1)">
195 span class="diggnum" id= "digg_count_4715000">8span>
196 div>
197 div class="clear"> div>
198 div id="digg_tip_4715000" class= "digg_tip">div>
199 div>
200 div class="post_item_body">
201 h3>a class= "titlelnk" href="http://www.cnblogs.com/xishuai/p/4715000.html" target= "_blank">2015-Written to myself next yeara>h3>
202 p class="post_item_summary">
203 a href="http://www.cnblogs.com/xishuai/" target="_blank">img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/435188/20130715165802.png" alt="">a> "[2014-Written to my current self next year](http://www.cnblogs.com/xishuai/p/3900217.html)" Time is like running water, and in a blink of an eye, it's time again It’s been a year, and when I look back at myself last year, it seems like it was yesterday.If you read last year's blog post carefully, you will find that I was emotional, venting my dissatisfaction with myself and the people and things I saw, so I wrote it...
204 p>
205 div class="post_item_foot">
206 a href="http://www.cnblogs.com/xishuai/" class="lightblue">Crickets in the fielda>
207 Published on 2015-08-09 18:08
208 span class="article_comment">a href="http://www.cnblogs.com/xishuai/p/4715000.html#commentform" title="2015-08-09 20:17" class="gray">
209 Comments (5)a>span> span class="article_view">a href ="http://www.cnblogs.com/xishuai/p/4715000.html" class="gray"> ;Read(289)a>span> div>
210 div>
211 div class="clear"> div>
212 div>
213 div class="post_item">
214 div class="digg">
215 div class="diggit" onclick= "DiggPost('anding',4715440,76293,1)">
216 span class="diggnum" id= "digg_count_4715440">7span>
217 div>
218 div class="clear"> div>
219 div id="digg_tip_4715440" class= "digg_tip">div>
220 div>
221 div class="post_item_body">
222 h3>a class= "titlelnk" href="http://www.cnblogs.com/anding/p/4715440.html" target= "_blank">Winform develops a full set of 31 UI components for open source sharinga> h3>
223 p class="post_item_summary">
224 a href="http://www.cnblogs.com/anding/" target="_blank">img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/151257/20150809180411.png" alt="">a> 1. Preface This UI library was completed by the previous company (several years ago). At that time, it was mainly for the development of the company's internal ERP system, and all Winform components used were redesigned and implemented, including 6 Form form components (supporting skinning) and 25 basic controls. Many of them refer to other open source components, and some are integrated with other people's components and then made some adjustments.I haven't done Winform for several years now...
225 p>
226 div class="post_item_foot">
227 a href="http://www.cnblogs.com/anding/" class="lightblue">/*How many flowers fall in a dream*/a>
228 Published on 2015-08-09 18:01
229 span class="article_comment">a href="http://www.cnblogs.com/anding/p/4715440.html#commentform" title="2015-08-09 20:33" class="gray">
230 Comments (4)a>span> span class="article_view">a href ="http://www.cnblogs.com/anding/p/4715440.html" class="gray"> ;Read(346)a>span> div>
231 div>
232 div class="clear"> div>
233 div>
234 div class="post_item">
235 div class="digg">
236 div class="diggit" onclick= "DiggPost('liulun',4714858,32486,1)">
237 span class="diggnum" id= "digg_count_4714858">1span>
238 div>
239 div class="clear"> div>
240 div id="digg_tip_4714858" class= "digg_tip">div>
241 div>
242 div class="post_item_body">
243 h3>a class= "titlelnk" href="http://www.cnblogs.com/liulun/p/4714858.html" target= "_blank">Using Nim language to develop windows GUI graphical interface programa> h3>
244 p class="post_item_summary">
245 a href="http://www.cnblogs.com/liulun/" target="_blank">img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/u28932.png?id=12164046" alt=""> a> Preface This article received strong support from "Musician". We debugged the program together until late at night. Without his help, I don't know how long it would have taken to get over this hurdle. In addition, there are other people in "Guixin" who also provided help. They are all from the QQ group: "Nim Development Concentration Camp" 469329878; interested friends can join this group to discuss configuring the GUI development environment. In this blog, I wrote about setting up the Nim development environment...
246 p>
247 div class="post_item_foot">
248 a href="http://www.cnblogs.com/liulun/" class="lightblue">liuluna>
249 发布于 2015-08-09 17:47
250 span class="article_comment">a href="http://www.cnblogs.com/liulun/p/4714858.html#commentform" title="" class="gray">
251 评论(0)a>span>span class="article_view">a href="http://www.cnblogs.com/liulun/p/4714858.html" class="gray">阅读(175)a>span>div>
252 div>
253 div class="clear">div>
254 div>
255 div class="post_item">
256 div class="digg">
257 div class="diggit" onclick="DiggPost('klguang',4715529,232502,1)">
258 span class="diggnum" id="digg_count_4715529">2span>
259 div>
260 div class="clear">div>
261 div id="digg_tip_4715529" class="digg_tip">div>
262 div>
263 div class="post_item_body">
264 h3>a class="titlelnk" href="http://www.cnblogs.com/klguang/p/4715529.html" target="_blank">JSP执行过程详解a>h3>
265 p class="post_item_summary">
266 复习JSP的概念 JSP是Java Server Page的缩写,在传统的HTML页面中加入JSP标签和java的程序片段就构成了JSP。 JSP的基本语法:两种注释类型、三个脚本元素、三个元素指令、八个动作指令。Commonly used built-in objects of JSP are: Request, Response, Out, Session,...
267 p>
268 div class="post_item_foot">
269 a href="http://www.cnblogs.com/klguang/" class="lightblue">klguanga>
270 Published on 2015-08-09 17:46
271 span class="article_comment">a href="http://www.cnblogs.com/klguang/p/4715529.html#commentform" title="" class="gray">
272 Comments (0)a>span> span class="article_view">a href ="http://www.cnblogs.com/klguang/p/4715529.html" class="gray"> ;Read(71)a>span> div>
273 div>
274 div class="clear"> div>
275 div>
276 div class="post_item">
277 div class="digg">
278 div class="diggit" onclick= "DiggPost('Lance--blog',4715495,226155,1)">
279 span class="diggnum" id= "digg_count_4715495">0span>
280 div>
281 div class="clear"> div>
282