» » Spidering Hacks
eBook Spidering Hacks ePub

eBook Spidering Hacks ePub

by Kevin Hemenway

  • ISBN: 0596005776
  • Category: Networking and Cloud Computing
  • Subcategory: Computers
  • Author: Kevin Hemenway
  • Language: English
  • Publisher: O'Reilly Media; 1 edition (November 1, 2003)
  • Pages: 424
  • ePub book: 1315 kb
  • Fb2 book: 1419 kb
  • Other: mobi lit azw docx
  • Rating: 4.2
  • Votes: 260


Kevin Hemenway, Tara Calishain.

Kevin Hemenway, Tara Calishain. The Internet, with its profusion of information, has made us hungry for ever more, ever better data.

Kevin Hemenway, coauthor of Mac OS X Hacks, is better known as Morbus Iff, the creator of disobey. com, which bills itself as "content for the discontented.

Only 1 left in stock (more on the way). Kevin Hemenway, coauthor of Mac OS X Hacks, is better known as Morbus Iff, the creator of disobey. Publisher and developer of more home cooking than you could ever imagine, he'd love to give you a Fry Pan of Intellect upside the head.

Discover new books on Goodreads. See if your friends have read any of Kevin Hemenway's books. Kevin Hemenway’s Followers (4). Kevin Hemenway. in Concord, The United States.

Books for People with Print Disabilities. Internet Archive Books. Uploaded by station30. cebu on January 14, 2020. SIMILAR ITEMS (based on metadata). com, which bills itself as content for the discontented.

Finding books BookSee BookSee - Download books for free. Kevin Hemenway, Tara Calishain. Rael Dornfest, Kevin Hemenway. Category: Computer science. 1. 2 Mb. Spidering Hacks.

Spidering Hacks is just that type of book. The web has a wealth of structured and semi-structured that is just waiting to be mined with automated tools. This book not only teaches you how to get the data out of these sources, but gives you idea about where to look for information and what to do with i. his book demonstrates everything I like in a technical book. It not only describes how things are done.

You'll begin with a crash cours. More).

The Internet, with its profusion of information, has made us hungry for ever more, ever better data. Out of necessity, many of us have become pretty adept with search engine queries, but there are times when even the most powerful search engines aren't enough. If you've ever wanted your data in a different form than it's presented, or wanted to collect data from several sites and see it side-by-side without the constraints of a browser, then Spidering Hacks is for you.Spidering Hacks takes you to the next level in Internet data retrieval--beyond search engines--by showing you how to create spiders and bots to retrieve information from your favorite sites and data sources. You'll no longer feel constrained by the way host sites think you want to see their data presented--you'll learn how to scrape and repurpose raw data so you can view in a way that's meaningful to you.Written for developers, researchers, technical assistants, librarians, and power users, Spidering Hacks provides expert tips on spidering and scraping methodologies. You'll begin with a crash course in spidering concepts, tools (Perl, LWP, out-of-the-box utilities), and ethics (how to know when you've gone too far: what's acceptable and unacceptable). Next, you'll collect media files and data from databases. Then you'll learn how to interpret and understand the data, repurpose it for use in other applications, and even build authorized interfaces to integrate the data into your own content. By the time you finish Spidering Hacks, you'll be able to:

Aggregate and associate data from disparate locations, then store and manipulate the data as you likeGain a competitive edge in business by knowing when competitors' products are on sale, and comparing sales ranks and product placement on e-commerce sitesIntegrate third-party data into your own applications or web sitesMake your own site easier to scrape and more usable to othersKeep up-to-date with your favorite comics strips, news stories, stock tips, and more without visiting the site every dayLike the other books in O'Reilly's popular Hacks series, Spidering Hacks brings you 100 industrial-strength tips and tools from the experts to help you master this technology. If you're interested in data retrieval of any type, this book provides a wealth of data for finding a wealth of data.


Mr_Jeйson Mr_Jeйson
This book was published in October 2003. It is now late in 2010. It is a great book, but can it really be 5 stars after 7 years?

I've owned the book since 2005, and any time I have a spidering question, I still turn to it, and am rarely disappointed. My copy is thoroughly dogeared. But how much of my work could actually be shortcutted if I was using the most recent Perl modules?
Moswyn Moswyn
I was expecting this to be something it was absolutely NOT. Its just a collection of hacks that were of no use/interest to me aside from the underlying logic implemented to create the hacks. I feel I could have found more useful information just Googling what I was looking for.
fire dancer fire dancer
This book is rich in techniques for creating scripts to automatically gather information particles from web pages. You appreciate how difficult it can be and how short lived any such application can be. Unless there is considerable economic value to the information to be acquired, you quickly learn that it is really not worth the trouble to do it. This knowledge can save you a lot of time.
Bladecliff Bladecliff
Nearly all of the examples were written using Perl, but the few pages written with PHP contained some very useful nuggets!

I especially liked the use of the explode() function to split a table-formatted html report into multiple PHP array elements for individual processing. Now, if only the authors had included examples written for ASP, Cold Fusion, etc. they could have appealed to a much wider audience!
Granirad Granirad
I've always wondered what a spider was and now I know what a scraper is too. The book provides a lot of info and links. I've just started and am happy so far.
Learned a lot from this book.
Chankane Chankane
The book has a nice collection of case studies on how to gather data from disparate websites. You might consider this as showing a simple way for you to use Web Services.
Spidering is the way that search engines gather their data. But you do not have to be Altavista or Google to use spiders. Nor do you have to be scanning a large fraction of the Web. The authors demistify spiders. If you can follow their examples, then you get concrete instances of usage that might help your particular application.
Thoughtfully, the examples are mostly written in Perl, with a few in Java. These languages should be familiar to many. Though even if you don't know them, the logic of the code can still be useful. (That is, you can treat the code as pseudocode.)
While spiders are probably best known as being used by search engines, they are really only the starting point for the latter. The much harder problems start when you have the data amassed by a spider. Now you have to efficiently find correlations between the various web pages. You should be aware that the book does not discuss these with any significant depth. Not surprising, because these are outside the scope of the book. The examples do show how to use the data found by spiders. But most of these are for web pages that sit in a given domain. So the pages are closely affiliated in content and structure.
The `Hacks' series from O'Reilly seems to be breeding as fast as virii in a Windows network - every time you turn around another one. While the writing and editing have remained high some such as `eBay Hacks' have not really had great material. `Spidering Hacks' is an improvement almost back to the quality I remember in the last contribution from Calishain, `Google Hacks'.
She and Kevin Hemenway have taken a fairly complex topic, spidering and scraping web sites and reduced it to manageable chunks in their hundred hacks. The writing has the same light, readable feel you can quickly grow to expect from O'Reilly. Certainly I have never found myself faulting their editing.
There are some caveats. It seems that O'Reilly and Dornfest (the Editor of this book and the series) have fallen in love with having a hundred hacks and little in the way of an introduction. I think this may have been a better book if it was done as 90 `hacks' and had a much larger introduction as the first chapters hacks are all too light and more truly introductory material such as how a HTML page is built and how to properly register your spider. Given that only someone with a fair amount of web knowledge is going to consider spidering a website in the first place then this early material is way too slight. From Hack 9 on it quickly gets down to useful and informative chunks in each and no longer feels `lightweight'.
This may be a reflection on trying to extend the `Hacks' series into places it has to be forced. While the format worked well for Google and Amazon I felt the entire topic of eBay too light for a topic in this series and perhaps spidering is too heavy or complex. If this book had been written in a more traditional format some of my complaints would disappear.
All the examples are in Perl and the serious part of the book starts with examples using LWP::Simple to grab a page before going on to LWP::UserAgent and much more complex requests using authentication, custom headers and posting form data. It also covers using curl and wget.
Then it gets down to the nitty gritty of scraping using HTML:Treebuilder and HTML:TokeParser. This is all further expanded through the next few hacks until starting at Hack 39 through to 89 there are a good series of examples (perhaps a few too many). Finally there are two chapters on maintaining your collection and `Giving Back To The World' which tells how to make it easy to scrape your site and using RSS.
O'Reilly have a page for the book with ten example hacks, index, Table of Contents and errata and you can also visit for the same ten hacks with the possibility of more being added.
As a whole this volume seems a little thin. If you've been doing the maths then you've realised that only about thirty of the hundred hacks actually give any details on building and running a serious web spider. Sure, a number of the examples provide good information on how to perform various tasks and some of the last eleven hacks are good to know but in all the book feels like it lacks solid information throughout. A bit more information on various crawling and page parsing techniques would have been good.
After that criticism I'm now surprising myself, I'm going to recommend this book. This isn't a large field and when you consider that most other books on writing spiders and crawlers are less than practical and more than expensive "Spidering Hacks" has many good points. It's written for the practical Perl programmer, it examines several methods and gives lots of examples and while not cheap it's certainly inexpensive. Given that I found it both useful and inspiring the complaints above may be a little like nitpicking. I should also say that I found this volume immensely useful in writing my own spider and scraper (it gets a list of new books from the web sites of several publishers.) I have to be honest and admit that there are three publishers, O'Reilly, Addison Wesley and Prentice Hall, from whom I expect a decent standard and criticise a little harder when they move from that norm. If this book had come from SAMS or Wrox I may well have not looked quite so hard for flaws and been a little more generous in my treatment of the ones I found.
That said, I recommend this book to you if you want a practical introduction to building a web spider in Perl.