Cleaner Extraction Question

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
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.
Post Reply
willwill88
Posts: 9
Joined: Mon Jan 24, 2011 6:18 pm

Cleaner Extraction Question

Post by willwill88 » Tue Sep 24, 2013 9:26 pm

I looked at some of the old examples including the Expedia example but I still cant figure this out. I want the output in separate rows with columns for: Departure Time, Arrival Time, # Passengers, Price

Any idea on how I can get this extraction cleaner? (Using Windows XP, iMacros V9)

Code: Select all

VERSION BUILD=9022602
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://us.megabus.com/JourneyResults.aspx?originCode=94&destinationCode=123&outboundDepartureDate=10%2f26%2f2013&inboundDepartureDate=&passengerCount=1&transportType=0&concessionCount=0&nusCount=0&outboundWheelchairSeated=0&outboundOtherDisabilityCount=0&inboundWheelchairSeated=0&inboundOtherDisabilityCount=0&outboundPcaCount=0&inboundPcaCount=0&promotionCode=&withReturn=0
TAG POS=1 TYPE=DIV FORM=NAME:ctl01 ATTR=TXT:SelectDetails<SP>DurationCarrierPassNumber<SP>of<SP>passengers<SP>Price<SP>Schedule<SP>Departs<SP>* EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER=* FILE=results.csv
Post Reply