how to scrape a webpage for data.

Posted on 2011-04-25
Medium Priority
Last Modified: 2012-05-11

I need to scrape a webpage for data. I need just one table.

Question by:samprg

Expert Comment

ID: 35462406
What do you mean?
LVL 71

Accepted Solution

Qlemo earned 2000 total points
ID: 35462977
The Microsoft Jet driver can do that (if on MS OS). For test you can use Excel: Go into Data > Import External Data > New WebQuery, and provide the link (and press Start). Then click on the yellow arrow pointing to the table you want to retrieve - but watch the blue frame, which determines what is interpreted as HTML table. After pressing Import, that table will be displayed in Excel. It is still connected to the source, so you can simple update the values using the Context Menu > Refresh Data  somewhere in the data area.

Expert Comment

ID: 35463902
I'm assuming you are going to write code to do this ? If so have a look at

This guy then wrote more code to dig out the parts he wanted, but  more elegant solution would be to use XSLT if you know it. A regular expression may also obtain the info you need.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month13 days, 16 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question