1-minute fast generation of XSLT for Web page content extraction

Source: Internet
Author: User
Tags xslt

In the article Python uses XSLT to extract Web page data , use XSLT to extract the content on the target page. Example of a small program that assigns a long segment of XSLT directly to a variable. The source does not say how this paragraph of XSLT came about.


Some netizens have questions, this XSLT is so long, writing is not going to take a long time?

The reality is that this XSLT is automatically generated by Gooseeker's intuitive labeling of several units, which is done in 1 minutes.


The following is an example of a list of forum posts in the program as an example, to bring you specific ways to operate:

The first step, open Gooseeker for several units, enter the URL to crawl;

The second step, in the browser display window to find a few, directly select the content to extract, and a name, click to confirm;

650) this.width=650; "id=" aimg_865 "src=" http://www.gooseeker.com/doc/data/attachment/forum/201605/17/ 104004yistw2es1itgiswx.png "class=" Zoom "width=" "height=" 451 "style=" margin-top:10px; "alt=" 104004yistw2es1itgiswx.png "/>


In the third step, the "test" button of the workbench is clicked, and the XSLT is generated and displayed in the Data Rules window.

650) this.width=650; "id=" aimg_864 "src=" http://www.gooseeker.com/doc/data/attachment/forum/201605/17/ 104004nytml8yx7lmxym7i.png "class=" Zoom "width=" "style=" margin-top:10px; "alt=" 104004nytml8yx7lmxym7i.png "/ >


Through the above operation, without programming, with a graphical interface directly on the page, 1 minutes to generate XSLT.


This article from "Fullerhua blog" blog, declined reprint!

1 minutes to quickly generate XSLT for Web page content extraction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.