Quote:
Originally Posted by philkryder could you post the code so we can see what code fails.. |
It was nothing special. Just a basic web extraction. I have attached the .atmn file. It has been running for over 24 hours since I reverted to IE8. I am estimating I'll be done in the next 8-9 hours. Too bad I lost the whole weekend debugging.
I wanted the SKU but A A won't let me capture it. I did figure out that the SKUs are in the names of the pictures so I captured those. I can pull those out easily in Excel.
Pseudo code:
open web page scrape all product info.
click next.
repeat.
loop until done.
Using this version, the program would copy the first page then end. It couldn't find the next button & it would end without error.
I tried coding around it a few ways to get to other pages but A A wouldn't extract the data. In some of the variations, it would fail at line 7 which was the command to click next. I used a variable to navigate through pages; I used a forced mouse click to click next; I tried closing the window & opening a new one. No matter what I did, it would only extract the data from page 1.
I have another site too. I couldn't even create a task A A would ask me to capture my patterned data. Once I clicked on my second choice in the pattern, the browser would close & my only option would be to cancel recording. Sometimes the site wouldn't even load. I haven't tested that one yet but I am assuming I'll be able to do what I need to do.