something has been changed in that sites, but they refuse to reply to my scripts with a translation, while when i see that translation through my browser i have no problems...
altavista gave me this answer:
We're sorry we've encountered an error with your request.
If you think this is a bug we should know about {send us e-mail} and let us know the following:
* What browser you were using.
* The operating system you are on.
* The type of translation you were trying when this error occurred.
so, is there a way to simulate a browser during these sessions?
ciao ANToine and thx
problems with babylon (altavista) & google translate
Hi,
The brower user-agent used by AMC is the following:
If you use Firefox, you can install the extension named "user agent switcher" to test browsing using that user-agent.
The brower user-agent used by AMC is the following:
Code: Select all
Mozilla/5.0 (compatible; Ant Movie Catalog using Indy Library)
YEAAH! i used an HexEditor replacing that header and it works again with all online translators!antp wrote:Either go change in the RCData using a resource editor, but I am not sure that it would work, or recompiling the program after having made the change in the code.
procedure
I looked for: Mozilla into MovieCatalog.exe;
then i changed:
Mozilla/5.0 (compatible; Ant Movie Catalog using Indy Library) with the standard
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) filling with spaces the oversized text so...
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)°°°°°°°°°°°° where ° means a space (HEX 20)
Thank You a lot Antoine.
ABN