Package Torello.HTML.Tools.SearchEngines
The classes here provide a demonstration of parsing an HTML Page to retrieve specified data
from the page. Here, search engine results, using a
NOTE: Search Engine Software Concerns have
To read more about Google's REST API, just go to Google-Search and type "Google REST API", and many links to
URL
that queries the search page
are parsed, and their results are converted into Java 'POJO's
'.
NOTE: Search Engine Software Concerns have
JSON
based REST
API's that make using the search engine, programatically (from Java, for example), a little
easier. Creating JSON
requests and parsing JSON
results is slightly more
complicated than using these HTML Parsing classes, but for the purposes of showcasing a web
scraper's abilities, this package is included in the Java HTML Jar Distribution
To read more about Google's REST API, just go to Google-Search and type "Google REST API", and many links to
developer.google.com
, and cloud.google.com
should be
present.-
Class Summary Class Description BaiDuQuery BaiDuQuery (百度搜索) - Example class that makes an HTTP connection (rather than a REST invocation) to the Search-EngineBaiDuQuery.SearchResult This class is returned as a result of performing a search on 百度搜索GoogleQuery GoogleQuery - Example class that makes an HTTP connection (rather than a REST invocation) to the Search-EngineGoogleQuery.SearchResult This class is returned as a result of performing a search on Google