I want to make a function that to get movie info from http://www.imdb.com
, then parse and show.
Sample Address Format :
I can do it by UrlMon library functions (UrlDownloadToFile)but it makes program freze.
I'm using Delphi 5. I haven't Indy Components
NMHTTP component from FastNet group is works well for this. But IMDB WebSite does not like posts which not have USER-AGENT string. Always sends a warning message in html file.
A short example please. It makes me learned it.
I Use NMHTTP like below.
Try NMHTTP1.Get( Edit1.Text );
except on ESockError do beep end;
ListBox1.Items.text := NMHTTP1.Body;
Muharrem ÇÖP (Ankara - Turkey)