URL GOTO={{!VAR1}} with https

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
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
tata668
Posts: 42
Joined: Sun Jun 14, 2009 2:34 am

URL GOTO={{!VAR1}} with https

Post by tata668 » Mon Nov 16, 2009 7:02 pm

I use this on a https site:

Code: Select all

ADD !VAR1 {{!URLCURRENT}}

(do things...)

URL GOTO={{!VAR1}}

And receive this error:
BadParameter: The URL syntax is not correct: 'http:// https://www.example.com', line: 94 (-911)
I think iMacros add a "http:// " when the url doesn't start with "http://". But It shouldn't do that when the url starts with "https://".

Also, why a space after the added "http://"?
Hannes, Tech Support

Re: URL GOTO={{!VAR1}} with https

Post by Hannes, Tech Support » Tue Nov 17, 2009 8:55 am

The following works fine for me:

Code: Select all

URL GOTO=https://www.gmx.net
ADD !VAR1 {{!URLCURRENT}}
PROMPT {{!VAR1}}
URL GOTO={{!VAR1}} 
If it fails for you, please try updating to the current 6.85 beta available at http://www.iopus.com/imacros/support/b685.htm and tell us whether that solved the issue.
tata668
Posts: 42
Joined: Sun Jun 14, 2009 2:34 am

Re: URL GOTO={{!VAR1}} with https

Post by tata668 » Tue Nov 17, 2009 2:57 pm

Hannes,

I guess you meant "SET !VAR1 {{!URLCURRENT}}" because "ADD !VAR1 {{!URLCURRENT}}" gives me an error. Other than that, this macro works.. I'll try to figure out when exactly it doesn't work for me.

By the way, the download link at http://www.iopus.com/imacros/support/b685.htm doesn't work.

Thanks for the help!
Hannes, Tech Support

Re: URL GOTO={{!VAR1}} with https

Post by Hannes, Tech Support » Tue Nov 17, 2009 3:46 pm

I overlooked that the 6.85 officially has been released, so it's available at http://iopus.com/download/imacros/
Post Reply