Extract links in separate lines

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.

Extract links in separate lines

by reus on Wed May 10, 2017 2:04 am

Hello, how to save in file one link per line?

Code: Select all
SET !EXTRACT_TEST_POPUP NO
SET !ERRORIGNORE YES
TAG POS=1 TYPE=A ATTR=CLASS:marginr EXTRACT=HREF
TAG POS=2 TYPE=A ATTR=CLASS:marginr EXTRACT=HREF
WAIT SECONDS=1
SAVEAS TYPE=EXTRACT FOLDER=D:\ FILE=links.txt


imacros 9.0.3, firefox, windows10 64
reus
 
Posts: 2
Joined: Sun Dec 04, 2016 9:14 am

Re: Extract links in separate lines

by chivracq on Wed May 10, 2017 2:53 am

reus wrote:Hello, how to save in file one link per line?

Code: Select all
SET !EXTRACT_TEST_POPUP NO
SET !ERRORIGNORE YES
TAG POS=1 TYPE=A ATTR=CLASS:marginr EXTRACT=HREF
TAG POS=2 TYPE=A ATTR=CLASS:marginr EXTRACT=HREF
WAIT SECONDS=1
SAVEAS TYPE=EXTRACT FOLDER=D:\ FILE=links.txt


imacros 9.0.3, firefox, windows10 64

Oh...!, very good, you now mention your FCI...!, even if hum..., FF Version is still missing... => FF53...?

But, hum..., your previous Thread still needs the same Info like I asked you and has been waiting since Decb 2016 for some Follow-up from your Side... You first need to follow up on (all) your previous Thread(s) and finish it/them "neatly" (by sharing your Solution) for me to want to help you (again) in this one... :idea:
- (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: 6304
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)


Return to Data Extraction and Web Screen Scraping

Who is online

Users browsing this forum: No registered users and 4 guests

-->