+ Reply to Thread
Results 1 to 2 of 2

Web Scraping

  1. #1
    Registered User
    Join Date
    10-15-2018
    Location
    London
    MS-Off Ver
    2011
    Posts
    1

    Web Scraping

    Hey team, first post here so hope you don't mind.

    So basically, in short, I am looking to scrape data from a website. The website is racingpost.com and the section of data that I will need to scrape will be their results page; racingpost.com/results.

    The results pages change every day with new racecourses so no two days would ever be the same. The data I am specifically looking for is the individual races under the racecourse header. These open up in a separate pop-up window and provide you a break down of all the runners in that race, margins of defeat, jockeys etc - this is the crux of the information I need.

    What I am looking to do is getting the information from this pop-up results page into my excel spreadsheet, so I can use the data in my own way for my personal analysis.

    Now the bit I am struggling to get my head around despite watching numerous webscraping videos on Youtube is, how on earth can I send a message to excel and tell it to access the website, go to the results page and then click each individual race and scrape the data from the page.

    If I'm not making sense then please let me know but I would really appreciate some help on this one!

    Cheers

  2. #2
    Forum Contributor
    Join Date
    02-09-2009
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    380

    Re: Web Scraping

    Sorry I'm not very knowledgeable on this subject, but I imagine there would be many ways to do it.

    It sounds like you'd be using the same workbook and wanting to refresh/ create new worksheets. Probably with a button which would activate a procedure/ subroutine (VBA).

    Or another way possibly would be to use a web browser plugin, just save the data as a csv file or something like that, then import into excel and run a procedure/ subroutine to tidy up the data a little more to how you want it.

    I was going to look into this a couple of months back for something I wanted to do but as mine were from pdf files the tables seemed to be a bit of a pig when copying and pasting into excel in it's most simplistic form. Dependent on which pdf reader I used i got different results when pasting to excel. I thought to myself if I'm running into these most basic importing problems with the data in it's most simplistic form I'm likely to encounter hell. So I left it as it didn't really warrant the effort in my case.

    However yours is 100% required and I'm looking forward to see what happens!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Web Scraping Help
    By rbuchei in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2016, 11:39 PM
  2. help from web scraping
    By kirby21 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-31-2015, 08:59 PM
  3. Web Scraping with VBA
    By Branbran10 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-28-2015, 09:30 AM
  4. help web scraping vba
    By kirby21 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-24-2015, 09:34 PM
  5. New to VBA - Web Scraping
    By cringle in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 12-17-2013, 08:26 AM
  6. Web Scraping
    By redkilner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-03-2013, 09:00 AM
  7. [SOLVED] Web scraping with xml
    By abousetta in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-24-2012, 05:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1