Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6782637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:46:02+00:00 2026-05-26T16:46:02+00:00

So what I would like to do is scrape this site: http://boxerbiography.blogspot.com/ and create

  • 0

So what I would like to do is scrape this site: http://boxerbiography.blogspot.com/
and create one HTML page that I can either print or send to my Kindle.

I am thinking of using Hpricot, but am not too sure how to proceed.

How do I set it up so it recursively checks each link, gets the HTML, either stores it in a variable or dumps it to the main HTML page and then goes back to the table of contents and keeps doing that?

You don’t have to tell me EXACTLY how to do it, but just the theory behind how I might want to approach it.

Do I literally have to look at the source of one of the articles (which is EXTREMELY ugly btw), e.g. view-source:http://boxerbiography.blogspot.com/2006/12/10-progamer-lim-yohwan-e-sports-icon.html and manually programme the script to extract text between certain tags (e.g. h3, p, etc.)?

If I do that approach, then I will have to look at each individual source for each chapter/article and then do that. Kinda defeats the purpose of writing a script to do it, no?

Ideally I would like a script that will be able to tell the difference between JS and other code and just the ‘text’ and dump it (formatted with the proper headings and such).

Would really appreciate some guidance.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:46:02+00:00Added an answer on May 26, 2026 at 4:46 pm

    I’d recomment using Nokogiri instead of Hpricot. It’s more robust, uses less resources, fewer bugs, it’s easier to use, and faster.

    I did some scraping extensively for work on time, and had to switch to Nokogiri, because Hpricot would crash on some pages unexplicably.

    Check this RailsCast:

    http://railscasts.com/episodes/190-screen-scraping-with-nokogiri

    and:

    http://nokogiri.org/

    http://www.rubyinside.com/nokogiri-ruby-html-parser-and-xml-parser-1288.html

    http://www.engineyard.com/blog/2010/getting-started-with-nokogiri/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to scrape 17 values from a website. This is the url
Would like to create a strong password in C++. Any suggestions? I assume it
Would like to make anapplication in Java that will not automatically parse parameters used
I would like to use a language that I am familiar with - Java,
Edit: Just for clarification I am using python, and would like to do this
I would like to scrape some dynamic data off of a website. On the
I would like to show a div near the top of a site to
I need to scrape some websites, and would like to avoid downloading images from
How do I scrape html tables using the XML package? Take, for example, this
I am looking for a library that would help scrape the information from the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.