AUTOMATED EXTRACTION OF DATA FROM WEB PAGES
Various embodiments provide techniques for automatically extracting data from web pages. Such extraction can take place without the use of a browser, and without necessarily rendering the entire web page. Thus, data extraction can be performed more efficiently and more quickly, while reducing the computing resources needed to perform such operations. In at least one embodiment, data extraction and translation are performed by automatically parsing structured data from visible and hidden elements of a web page.
1 - 48 . (canceled)
49 . A computer-implemented method, comprising:
obtaining a search query via a user interface on a user device, the search query including a plurality of different search fields;
using an Application Programming Interface (API) that is generalized across a plurality of different websites, for each website:
using one or more of the different search fields of the search query to generate an API request in a format that is associated with the website; and
executing the generated API request to obtain results data from the website;
converting the results data from each of the plurality of different websites into a unified format; and
causing the user interface on the user device to output the results data from the plurality of different websites in the unified format.
50 . The computer-implemented method of claim 49 , wherein executing the generated API request for at least one of the plurality of different websites includes parsing data from elements of the website without accessing an API endpoint of the website.
51 . The computer-implemented method of claim 49 , wherein:
the user interface is associated with an electronic application other than a web browser; and
the executing of the generated API request for at least one of the plurality of different websites is performed without use of a web browser.
52 . The computer-implemented method of claim 51 , wherein the electronic application includes a universal shopping cart.
53 . The computer-implemented method of claim 49 , wherein the search query pertains to a reservation or event.
54 . The computer-implemented method of claim 49 , wherein the results data is obtained from the website, in each case, without rendering of the website.
55 . The computer-implemented method of claim 49 , wherein the results data obtained from the website, in each case, includes website microdata.
56 . A computer-implemented method, comprising:
obtaining a query via a user interface on a user device, the query including a plurality of different parameters;
using an Application Programming Interface (API) that is generalized across a plurality of different websites, for each website:
using a subset of the plurality of different parameters of the query to generate an API request in a format that is associated with the website, wherein the subset used is associated with each website; and
executing the generated API request to obtain results data from the website;
converting the results data from each of the plurality of different websites into a unified format; and
causing the user interface on the user device to output the results data from the plurality of different websites in the unified format.
57 . The computer-implemented method of claim 56 , wherein executing the API request for at least one of the plurality of different websites includes parsing data from elements of the website without accessing an API endpoint of the website.
58 . The computer-implemented method of claim 56 , wherein:
the user interface is associated with an electronic application other than a web browser; and
the executing of the API requests is performed without use of a web browser.
59 . The computer-implemented method of claim 56 , wherein:
the user interface is associated with a web browser;
obtaining the query includes, via an electronic application other than the web browser, intercepting the query; and
the executing of the API requests is performed without use of the web browser.
60 . The computer-implemented method of claim 56 , wherein the subset of parameters used for each website is based on a domain object model associated with that website.
61 . The computer-implemented method of claim 60 , wherein the association between the domain object model and the website includes that the domain object model corresponds to a further website having a common host as the website.
62 . The computer-implemented method of claim 56 , wherein the query pertains to a reservation or event.
63 . The computer-implemented method of claim 56 , wherein the results data is obtained from the website, in each case, without rendering of the website.
64 . The computer-implemented method of claim 56 , wherein the results data obtained from the website, in each case, includes website microdata.
65 . The computer-implemented method of claim 56 , wherein the query pertains to an add-to-cart user command.
66 . A computer-implemented method, comprising:
obtaining a query via a user interface on a user device, the query including a plurality of different parameters;
using an Application Programming Interface (API) that is generalized across a plurality of different websites, for each website:
using one or more of the different parameters of the query to generate an API request in a format that is associated with the website; and
executing the generated API request to obtain results data from the website without rendering the website;
converting the results data from each of the plurality of different websites into a unified format; and
causing the user interface on the user device to output the results data from the plurality of different websites in the unified format.
67 . The computer-implemented method of claim 66 , wherein:
the user interface is associated with an electronic application other than a web browser; and
the executing of the API requests is performed without use of a web browser.
68 . The computer-implemented method of claim 66 , wherein:
the user interface is associated with a web browser;
obtaining the query includes, via an electronic application other than the web browser, intercepting the query; and
the executing of the API requests is performed without use of the web browser.