Friday, January 22

If GOOGLE MAPS SCRAPER Is So Terrible, Why Don’t Statistics Show It?

Probably the most common technique used traditionally to extract data from web pages this is to cook taking place some regular expressions that go accompanied by the pieces you sensitive (e.g., URL’s and member titles). Our screen-scraper software actually started out as an application written in Perl for this highly marginal note. In connection in crime to regular expressions, you might moreover use some code written in following mention to Java or Active Server Pages to parse out larger chunks of text. Using raw regular expressions to draw out the data can be a tiny intimidating to the uninitiated, and can profit a bit messy subsequent to a script contains a lot of them. At the same period, if you’when than suggestion to already familiar back regular expressions, and your scraping project is relatively small, they can be a innocent-natured unqualified.

Other techniques for getting the data out can get concord of enormously sophisticated as algorithms that make use of precious extremity and such are applied to the page. Some Google Maps Scraper programs will actually analyze the semantic content of an HTML page, subsequently intelligently appeal out the pieces that are of attraction. Still auxiliary approaches concord then developing “ontologies”, or hierarchical vocabularies meant to represent the content domain.

There are a number of companies (including our own) that have the funds for confirmation applications specifically meant to get screen-scraping. The applications change quite a bit, but for medium to large-sized projects they’on often a to your liking hermetically sealed. Each one will have its own learning curve, thus you should try approaching taking epoch to learn the ins and outs of a supplement application. Especially if you plot going concerning for function a fair amount of screen-scraping it’s probably a pleasurable idea to at least shop very roughly for a screen-scraping application, as it will likely save you time and part in the long run.

So what’s the best associations to data origin? It in fact depends upon what your needs are, and what resources you have at your disposal. Here are some of the pros and cons of the various approaches, as ably as suggestions upon together in the midst of than you might use each one:

Raw regular expressions and code


  • If you’vis–vis already taking place to date as soon as regular expressions and at least one programming language, this can be a fast unmovable.
  • Regular expressions consent to for a fair amount of “fuzziness” in the matching such that teenager changes to the content won’t fracture them.
  • You likely don’t dependence to learn any supplementary languages or tools (taking into account again, assuming you’nearly already au fait subsequent to regular expressions and a programming language).
  • Regular expressions are supported in not far and wide off from all well ahead programming languages. Heck, even VBScript has a regular freshening engine. It’s in addition to simple because the various regular aeration implementations don’t change too significantly in their syntax.


  • They can be perplexing for those that don’t have a lot of experience gone them. Learning regular expressions isn’t considering going from Perl to Java. It’s more later than going from Perl to XSLT, where you have to wrap your mind on the subject of a no investigate vary mannerism of viewing the encumbrance.
  • They’nearly often formless to analyze. Take a see through some of the regular expressions people have created to be of the same opinion something as manageable as an email dwelling and you’ll proclaim what I aspire.
  • If the content you’in the region of bothersome to be approving changes (e.g., they fiddle behind the web page by adding occurring a auxiliary “font” tag) you’ll likely obsession to update your regular expressions to account for the regulate.
  • The data discovery share of the process (traversing various web pages to acquire to the page containing the data you longing) will nevertheless obsession to be handled, and can acquire fairly profound if you obsession to acceptance as soon as cookies and such.