How to extract multiple Zip code ?

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.

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.

Re: How to extract multiple Zip code ?

by haroonah on Thu Jun 11, 2015 2:38 pm

not clear enough!
Need more information.
Have you tried yourself to make a macro?
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all Versions...
User avatar
haroonah
 
Posts: 40
Joined: Mon Jun 01, 2015 11:11 pm
Location: Duisburg Germany

Re: How to extract multiple Zip code ?

by chivracq on Thu Jun 11, 2015 4:00 pm

bambucea wrote:Hello guys,

I'm new and i don't have so much experience with Imacros
I'm interested to extract Zip code from multiple Url's

example :

Code: Select all
http://www.leboncoin.fr/sports_hobbies/816395453.htm?ca=22_s
http://www.leboncoin.fr/sports_hobbies/816380402.htm?ca=22_s
http://www.leboncoin.fr/sports_hobbies/816372272.htm?ca=22_s
http://www.leboncoin.fr/sports_hobbies/791048430.htm?ca=22_s
http://www.leboncoin.fr/sports_hobbies/790876320.htm?ca=22_s
http://www.leboncoin.fr/sports_hobbies/790449050.htm?ca=22_s
http://www.leboncoin.fr/sports_hobbies/816317300.htm?ca=22_s
http://www.leboncoin.fr/sports_hobbies/816315059.htm?ca=22_s
http://www.leboncoin.fr/sports_hobbies/760145051.htm?ca=22_s
http://www.leboncoin.fr/sports_hobbies/765983236.htm?ca=22_s


Anyone can help me please ?

CIM...! :mrgreen:

haroonah wrote:not clear enough!
Need more information.
Have you tried yourself to make a macro?

- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all Versions...

Ah-ah-ah...! Perfect Answer..., I'm starting to like you...! :oops:

Hum..., wondering if I should copyright my Sig or not...!! :twisted:
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
 
Posts: 6490
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)

Re: How to extract multiple Zip code ?

by techimac on Fri Jul 03, 2015 5:01 am



SET !EXTRACT_TEST_POPUP NO
SET !DATASOURCE urls.txt
SET !DATASOURCE_COLUMNS 1
URL GOTO={{!COL1}}
TAG POS=1 TYPE=TD ATTR=itemprop:postalCode EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER=* FILE=ZipCode.csv


Place all links in a text file (one link per line) and save as urls.txt
Place text file in Datasources folder of iMacros
Now run the script in loop
Extracted data will be saved in Downloads folder of iMacros
The script will work for the website you have mentioned.
techimac
 
Posts: 189
Joined: Fri Feb 20, 2015 2:27 pm


Return to Scripting and Command Line Interface

Who is online

Users browsing this forum: No registered users and 1 guest

-->