Web page element collection method and device, terminal and computer readable storage medium
A technology of webpage elements and collection methods, applied in the field of network communication, can solve the problems of high technical threshold and difficulty in quickly collecting webpage data, and achieve the effect of simple operation and low threshold
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] see figure 1 , the present embodiment provides a web page element collection method, the method includes the following steps:
[0043] S10: Obtain the URL of the webpage to be collected input by the user, and open the webpage in the built-in browser.
[0044] S20: Obtain the webpage element clicked by the user, and display a function option group corresponding to the webpage element clicked by the user, where the function option group includes at least one selectable function option.
[0045]Wherein, the webpage element is a constituent element of a webpage, including various types such as pictures, texts, videos, and audios. In an HTML / XML web page, a web page element includes multiple sub-nodes, and each sub-node contains different information, so that the web page element becomes a node with complete information. When a user clicks on a web page element, the web page element will be fetched. According to the obtained webpage elements, different function option gro...
Embodiment 2
[0062] see image 3 , this embodiment provides a web page element collection device 100, the device includes:
[0063] The webpage opening module 110 is used to obtain the website address of the webpage that needs to be collected input by the user, and open the webpage in the built-in browser;
[0064] The option display module 120 is configured to display a corresponding function option group according to the web page element clicked by the user, and the function option group includes at least one selectable function option;
[0065] Function option determination module 130, configured to determine the function option selected by the user;
[0066] The operation generation and execution module 140 is configured to generate an XPath path expression corresponding to the webpage element, and generate execution steps corresponding to the function options or perform operations corresponding to the function options, and the execution steps are used to is executed to realize the c...
Embodiment 3
[0069] see Figure 4 This embodiment provides a terminal 200, the terminal 200 includes a memory 210 and a processor 220, the memory 210 is used to store a computer program, and the processor 220 executes the computer program so that the terminal 200 implements the method for collecting webpage elements described above.
[0070] Wherein, the terminal 200 includes terminal devices (such as computers, servers, etc.) that do not have mobile communication capabilities, and also includes mobile terminals (such as smart phones, tablet computers, vehicle-mounted computers, smart wearable devices, etc.).
[0071] The memory 210 may include an area for storing programs and an area for storing data. Wherein, the storage program area can store the operating system, at least one application program required by the function (such as sound playback function, image playback function, etc.); the storage data area can store data created according to the use of the terminal 200 (such as audio d...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com