Problem of GetPage() in the Script

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
Heartos

Problem of GetPage() in the Script

Post by Heartos »

Hi,

While I made the Script for http://films.hitel.net, I found a problem of GetPage().

In the Webpage &lt was used. When GetPage() meets &lt in the taget page, all the words next to &lt are lost.
This result was confirmed by using ShowMessage().

How can I solve this problem?
Heartos

Modify..

Post by Heartos »

Abolve, &lt means &lt
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

If I remember well, it is a server-side bug that puts a byte at zero (value = 0) after this character. The functions that I use to download the file seems to cut the text when they found a 0 (which is used in C and Windows API functions as end-of-string symbol).
Heartos

Post by Heartos »

Thanks for your speedly answer.
Post Reply