Home > Net >  The crawler parsing problem page
The crawler parsing problem page

Time:10-12


Playing with the crawler, recently had done this many years ago. Forget about oh.

As shown in figure in the red box.
To view the HTML source code, can't see the text information. Only in it at the next higher level (.net technology) to see a onm ouseover event.

Onmouseover="cateShow (108698)"

Could you tell me how to get the red box list?

CodePudding user response:

This list is in the HTML source code, onm ouseover just add a class, I can don't know how to get the

CodePudding user response:

Hover in the content of the Id to "cate_content_block_" div + n, where n is the Id of the current items, such as you mentioned 108698. Through the Id for the element, you can grab the content,
  •  Tags:  
  • C#
  • Related