How to EXTRACT and save URL from there in CSV

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
macrosguy
Posts: 7
Joined: Wed Jul 23, 2014 9:07 pm

How to EXTRACT and save URL from there in CSV

Post by macrosguy » Sun Aug 24, 2014 3:51 pm

CIM is Firefox V30, Imacros Addon v8.8.2, OS - XP SP2 64bit

Hello
I am trying to get contents of tweets and saving them in a CSV, one per row

But when a tweet has a WEBLINK, the URL gets messed up and not the actual URL

For e.g. Just goto https://twitter.com/twitter
See the latest tweet
Clipboard02111111111111111.jpg
Actually the glassdoor.com/Top-Companies-... part is a hyperlink to following weblink
http://t.co/tDbVGX48c6 which redirects to http://www.glassdoor.com/Top-Companies- ... KQ0,36.htm

ISSUE is if we use the following to save this tweet

Code: Select all

TAG POS=1 TYPE=DIV ATTR=CLASS:dir-ltr EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER=* FILE=SaveTweets.csv
it is saved in CSV as following only (i.e TEXT) & the link is not saved properly.
Honored to be named @Glassdoor's top company for culture and values. #jointheflock glassdoor.com/Top-Companies-...
How can we make sure we get ACTUAL link saved in CSV, along with tweet instead of above
I feel EVAL & thus Javascript command can be used but i am not sure how.


Thanks

@chivracq Plz do reply
Post Reply