Extracting data from div

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Extracting data from div

by nnagasaibabu on Mon Apr 18, 2016 7:40 am

Hi all,

I have a div which is mentioned below.

File name Date Size Status Download
Status_One 04/18/2016 1245 Success Download Button
Status_Two 04/18/2016 12314564 Success Download Button
Status_Three 04/18/2016 14587 Success Download Button
Status_Four 04/19/2016 789451 Success Download Button
Status_Five 04/19/2016 1256 Success Download Button
Status_Six 04/19/2016 021 Success Download Button
Status_Seven 04/19/2016 45214 Success Download Button


I want extract data row by row and after that download the individual file. Please help me.

waiting for the reply.

Thanks,
Sai
nnagasaibabu
 
Posts: 8
Joined: Sat Nov 14, 2015 1:31 pm

Re: Extracting data from div

by Cobra99 on Mon Apr 18, 2016 1:59 pm

Did you try recording feature of iMacros?
VERSION BUILD=8820413 RECORDER=FX, WIN7 64-bit SK, Pale Moon 25.8.1(x86)
FCIM here http://forum.imacros.net/viewtopic.php?f=20&t=3331
Cobra99
 
Posts: 64
Joined: Wed Dec 24, 2014 5:17 pm

Re: Extracting data from div

by nnagasaibabu on Tue Apr 19, 2016 2:29 am

Hi Cobra99,

I have tried by recording and I am getting like.

TAG POS=1 TYPE=DIV ATTR=TXT:Status_One
TAG POS=1 TYPE=DIV ATTR=TXT:Status_Two
TAG POS=1 TYPE=DIV ATTR=TXT:Status_Three
TAG POS=1 TYPE=DIV ATTR=TXT:Status_Four

I dont know how to loop this one. I want to extract the data row by row and need to download the file based on file name.

Please help me.
nnagasaibabu
 
Posts: 8
Joined: Sat Nov 14, 2015 1:31 pm


Return to Data Extraction and Web Screen Scraping

Who is online

Users browsing this forum: No registered users and 6 guests

-->