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.
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.
I do not know what was the expected output, but the code seems to work and get some data. See attached.
You're looking for something like this:
Set reference to Microsoft Scriptcontrol
As always - props to Kyle123 for originally coming up with this![]()
Please Login or Register to view this content.
![]()
Please click the * below if this helps
@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:
where the output will be stored a new sheet; Col.A contains report name w/ hyperlink, Col.B date, Col.C description.![]()
Please Login or Register to view this content.
Cheers,
berlan
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.
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.
You're welcome, and thanks for the feedback!![]()
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.
Hi,
change,
to![]()
Please Login or Register to view this content.
or feel free delete the whole loop for adding hyperlinks..![]()
Please Login or Register to view this content.
Cheers,
berlan
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks