+ Reply to Thread
Results 1 to 12 of 12

Data Scraping from the WebSite

  1. #1
    Registered User
    Join Date
    04-30-2007
    Posts
    26

    Data Scraping from the WebSite

    Hi,

    Web scraping from the following site fails to get data

    http://www.religareonline.com/resear...arch-reports/4

    Anything iam really missing or missing the Element ID

    Sathis


    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Data Scraping from the WebSite

    I do not know what was the expected output, but the code seems to work and get some data. See attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-30-2007
    Posts
    26

    Re: Data Scraping from the WebSite

    Quote Originally Posted by AB33 View Post
    I do not know what was the expected output, but the code seems to work and get some data. See attached.
    Hi,
    Thanks for the Reply,
    The data below the headers (All report,.........) need to be queried.

    Any Insights.

    Sathish

  4. #4
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Data Scraping from the WebSite

    You're looking for something like this:
    Set reference to Microsoft Scriptcontrol

    Please Login or Register  to view this content.
    As always - props to Kyle123 for originally coming up with this
    Please click the * below if this helps

  5. #5
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Data Scraping from the WebSite

    @JAsperD, will look into your version more in details, looks interesting...

    Alternatively, using Internet Explorer for scraping seems to work in this case...

    For instance, try:
    Please Login or Register  to view this content.
    where the output will be stored a new sheet; Col.A contains report name w/ hyperlink, Col.B date, Col.C description.

    Cheers,
    berlan

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Data Scraping from the WebSite

    Jasper and Berlan,
    I suspect the OP is looking to download the data embedded with in JAVA and PDf file, not simply the data on the body of the page.
    I am unable to run Jasper's code as VBA keep tells me "Active component can not create object" despite I am connected to the Script control (Ticked). I am sure there is something missing from my reference library.

  7. #7
    Registered User
    Join Date
    04-30-2007
    Posts
    26

    Re: Data Scraping from the WebSite

    Hi,
    Thanks again for your reply.
    I was struggling for the code for the past 3 days and it worked.
    You are doing great.

    Sathis

    Quote Originally Posted by JasperD View Post
    You're looking for something like this:
    Set reference to Microsoft Scriptcontrol

    Please Login or Register  to view this content.
    As always - props to Kyle123 for originally coming up with this

  8. #8
    Registered User
    Join Date
    04-30-2007
    Posts
    26

    Re: Data Scraping from the WebSite

    Hi,

    Thanks for your reply
    Your code works like a charm.
    Sathish

    Quote Originally Posted by berlan View Post
    @JAsperD, will look into your version more in details, looks interesting...

    Alternatively, using Internet Explorer for scraping seems to work in this case...

    For instance, try:
    Please Login or Register  to view this content.
    where the output will be stored a new sheet; Col.A contains report name w/ hyperlink, Col.B date, Col.C description.

    Cheers,
    berlan

  9. #9
    Registered User
    Join Date
    04-30-2007
    Posts
    26

    Re: Data Scraping from the WebSite

    Hi,

    Thanks all for your posts
    Closing the IE is missing,

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

    Sathis
    Last edited by sathis; 07-19-2015 at 10:16 AM.

  10. #10
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Data Scraping from the WebSite

    You're welcome, and thanks for the feedback!

  11. #11
    Registered User
    Join Date
    04-30-2007
    Posts
    26

    Re: Data Scraping from the WebSite

    Hi,

    Web scraping from the following site got error , while using the following code.

    Need your help to resolve.

    Please Login or Register  to view this content.

  12. #12
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Data Scraping from the WebSite

    Hi,

    change,
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    or feel free delete the whole loop for adding hyperlinks..

    Cheers,
    berlan

+ 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. problem while scraping data from website
    By dps700 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-09-2014, 09:46 AM
  2. Automated data scraping from website into excel
    By kavin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-10-2014, 01:42 PM
  3. Scraping website into excel
    By eodsolo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-12-2014, 06:25 AM
  4. Replies: 1
    Last Post: 02-17-2014, 11:21 PM
  5. Scraping website data when Get External Data from Web doesnt work
    By Zipping2010 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2013, 12:16 AM
  6. scraping data from a website
    By redpanda in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-05-2012, 01:20 PM
  7. Scraping website data into Excel
    By oliver79 in forum Excel General
    Replies: 0
    Last Post: 06-13-2010, 02:15 PM

Tags for this Thread

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