Dede3.1 detailed description of paging text collection filtering rules (graphic tutorial) continued 2. A friend who has a better understanding of the dede collection rules can skip the previous article. Next, let's take a look at how to solve the paging collection problem with static braking and unchanged conditions. 2. the previous article about the dede collection rules can be skipped. let's take a look at how to solve the paging collection problem without changing the conditions.
II. new collection targets
Target address:
1. http://www.tiansou.net/Html/Y_CYFW/R_Gzzj/F_Gzjh/index.html
2. http://www.tiansou.net/Html/Y_CYFW/R_Gzzj/F_Gzjh/2007-2/9/20070209110903558.html
The reason why two target pages are selected is that one of the above two pages has pagination while the other does not, and there is a big difference between the paging and full-text sampling. The following instructions are modified based on the full link of the collection target address (home page). In some cases, it will appear as a snake, just for convenience.
Code 1 of the target text header:
= 700) window. open ('/upload/200743213057697.gif'); "src =" http://www.bkjia.com/uploads/allimg/131016/06064L216-0.gif "onload =" if (this. width> '200') this. width = '000000'; "border = 0>
Code 2 of the header of the target text:
= 700) window. open ('/upload/200743213057679.gif'); "src =" http://www.bkjia.com/uploads/allimg/131016/06064LJ7-1.gif "onload =" if (this. width> '200') this. width = '000000'; "border = 0>
It is not difficult to find that the starting part of the two text parts can be determined as the black part. the starting part is easy to say, and the code is as follows:
The code is as follows:
Code 1 of the destination text and paging area:
= 700) window. open ('/upload/200743213057312.gif'); "src =" http://www.bkjia.com/uploads/allimg/131016/06064K143-2.gif "onload =" if (this. width> '200') this. width = '000000'; "border = 0>
Code 2 of the target text tail and paging area:
= 700) window. open ('/upload/200743213057807.gif'); "src =" http://www.bkjia.com/uploads/allimg/131016/06064H347-3.gif "onload =" if (this. width> '200') this. width = '000000'; "border = 0>
Comparing the two ends, although I want to make the first end a little more to the premise, but I can't do it. I have to take into account the common part of all links, so I have to draw the black part, this also makes it a bit difficult to determine filtering rules in the future. Determine the end part first:
The code is as follows:
Bytes. 2. collect new target locations...