SAVEAS TYPE=EXTRACT output not in CSV any more

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.

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.

SAVEAS TYPE=EXTRACT output not in CSV any more

by MichaelMue on Sun Nov 05, 2017 8:10 am

I just migrated from
openSUSE 13.2, Firefox 50.1.0, iMacros for Firefox 8.9.7, BUILD 8970419
to
openSUSE Leap 42.3, Firefox 52.4.0, iMacros for Firefox 9.0.3, BUILD 9030808

In the old version SAVEAS TYPE=EXTRACT used to output html content in CSV Format with leading and trailing quotes and with all inner quotes doubled as documented. In the new version the html content is output plain without any additional quotes.

This is a simple example:

URL GOTO=https://www.google.de/
TAG POS=1 TYPE=DIV ATTR=TXT:*Google* EXTRACT=HTM
SAVEAS TYPE=EXTRACT FOLDER=/tmp FILE=Google.csv

Old output (partial): "<div class=""ctr-p"" id=""viewport"" ... </div>"

New output: <div class="ctr-p" id="viewport" ... </div>

Is this a voluntary change or a bug or am I missing something?
MichaelMue
 
Posts: 2
Joined: Sun Nov 05, 2017 6:41 am

Re: SAVEAS TYPE=EXTRACT output not in CSV any more

by chivracq on Sun Nov 05, 2017 9:40 am

MichaelMue wrote:I just migrated from
Code: Select all
    openSUSE 13.2, Firefox 50.1.0, iMacros for Firefox 8.9.7, BUILD 8970419

to
Code: Select all
    openSUSE Leap 42.3, Firefox 52.4.0, iMacros for Firefox 9.0.3, BUILD 9030808


In the old version SAVEAS TYPE=EXTRACT used to output html content in CSV Format with leading and trailing quotes and with all inner quotes doubled as documented. In the new version the html content is output plain without any additional quotes.

This is a simple example:
Code: Select all
URL GOTO=https://www.google.de/
TAG POS=1 TYPE=DIV ATTR=TXT:*Google* EXTRACT=HTM
SAVEAS TYPE=EXTRACT FOLDER=/tmp FILE=Google.csv


Old output (partial):
Code: Select all
"<div class=""ctr-p"" id=""viewport"" ... </div>"


New output:
Code: Select all
<div class="ctr-p" id="viewport" ... </div>


Is this a voluntary change or a bug or am I missing something?

Hum..., I don't think anybody ever reported this "Change in Behaviour" (which is not documented anyway and a "Change" not documented is already a Bug...!), but most "serious" Users quickly reverted to v8.9.7 when v9.0.3 was released (in Aug 2016), because of too many Bugs and Functionality not supported anymore... (I never bothered to install v9.0.3 myself, ah-ah...!)

v8.9.7 will still work on your FF52, that would be the "advised" Workaround... (And it still works until at least FF v55.0.3 which is the FF Version I'm using myself...)
- (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: 6473
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)

Re: SAVEAS TYPE=EXTRACT output not in CSV any more

by MichaelMue on Sun Nov 05, 2017 10:40 am

Thanks for the advice. I probably will follow that. I'm not looking for more trouble. :(
MichaelMue
 
Posts: 2
Joined: Sun Nov 05, 2017 6:41 am


Return to iMacros for Firefox

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 13 guests

-->