Page 1 of 1
URL rewrite?
Posted: Tue Aug 11, 2009 4:20 pm
by rwgk
Hi,
I have
Flashgot 1.2
Mac OS 10.5.7
Firefox 3.5.2
SpeedDownload 5.2.1
A web page serves ULRs like this:
javascript:showWaitText();document.location.href='http://1.2.3.4/0123456789ABCDEF/?m=dl'
Is there a way to get Flashgot to rewrite the URL, to remove the leading javascript code up to the
quote and the trailing quote?
Ralf
Re: URL rewrite?
Posted: Tue Aug 11, 2009 4:51 pm
by therube
URL where this occurs?
Perhaps the
Build Gallery can help - using the JavaScript Functions to strip the unwanted text.
(Don't ask me how to do that?)
Otherwise, if you
save the links to a file, then used
Vim (or SED or similar) something like this...
Code: Select all
s/.*=\'// ; remove everything up to "http"
s/\'$// ; remove closing ' character
(If you don't know Vim or SED, that probably won't help you much.)
Re: URL rewrite?
Posted: Tue Aug 11, 2009 9:46 pm
by rwgk
> URL where this occurs?
save.tv
It isn't openly accessible AFAIK; I pay a fee.
> Perhaps the Build Gallery can help - using the JavaScript Functions to strip the unwanted text.
It looks complicated... (and I only have one URL at a time)
> Otherwise, if you save the links to a file, then used Vim (or SED or similar) something like this...
It still requires lots of clicks and keystrokes. My hope is to make it work with Alt-click again,
as it was in the past until save.tv decided to put the javascript stuff around the URL.
Ralf
Re: URL rewrite?
Posted: Tue Aug 11, 2009 10:48 pm
by Giorgio Maone
FlashGot 1.2.0.1 makes an attempt at it.
How does it work for you?
Re: URL rewrite?
Posted: Tue Aug 11, 2009 11:11 pm
by rwgk
Giorgio Maone wrote:FlashGot 1.2.0.1 makes an attempt at it.
How does it work for you?
It works perfectly! Alt-Click does the trick again. What a relief!
Thank you very much!!!
Ralf