![]() |
|
#3
|
|||
|
|||
|
The Url is also in the source code (Url-encoded), i think
it's probably easier to implement decoding and parsing that, instead of the JavaScript-Way, as you just need to download that page, and do not need to interpret it (neither HTML nor JavaScript). Here is my little Delphi-function: Code:
function DecUrlEncStr(const InpStr: String): String;
var
i: Integer;
begin
SetLength(Result, Length(InpStr) div 3);
for i := (Length(InpStr) div 3) downto 1 do
Result[i] := Chr(StrToInt(LowerCase('$' + InpStr[i*3-1] + InpStr[i*3])));
end;
Last edited by aldente; 03-19-2005 at 03:28. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programs kills itself - how to avoid that? | aldente | General Discussion | 10 | 09-22-2005 11:15 |
| How to avoid RAR corruption? | Rhodium | General Discussion | 3 | 10-27-2003 03:20 |