Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND APPARATUS FOR OBTAINING SECONDARY PAGE, AND COMPUTER DEVICE
Document Type and Number:
WIPO Patent Application WO/2024/045954
Kind Code:
A1
Abstract:
The present application discloses a method and apparatus for obtaining a secondary page, and a computer device, which are applied to the field of automated web crawlers. The method comprises: accessing a first page and obtaining a DOM node on the first page; simulating a click operation on the DOM node; intercepting the switching of the first page and obtaining a URL of a second page to be switched to; and obtaining content of the second page according to the URL. In conventional web page detection, an tag of a page is scanned to obtain a URL of a secondary page. However, an SPA framework-based page does not have an tag, and a routing function code is used to simulate page switching. Therefore, conventional web page detection cannot be adapted to an SPA page. According to the method for obtaining a secondary page provided by the present application, scanning an tag is not used for obtaining the secondary page; instead, entering and intercepting the secondary page is simulated, and the URL of the secondary page is captured. The present application can be applied to a variety of pages, including SPA pages.

Inventors:
ZHANG XIAOLONG (CN)
LI HAO (CN)
GAO XIANGAN (CN)
Application Number:
PCT/CN2023/108937
Publication Date:
March 07, 2024
Filing Date:
July 24, 2023
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HUAWEI CLOUD COMPUTING TECH CO LTD (CN)
International Classes:
G06F16/958
Foreign References:
CN104408204A2015-03-11
CN110083755A2019-08-02
US20210209526A12021-07-08
CN114745146A2022-07-12
CN106649567A2017-05-10
Attorney, Agent or Firm:
TDIP & PARTNERS (CN)
Download PDF: