Hello,
I tried to wrote some script for film.wp.pl site. But I don't know how to ask about a film. They used POST (not GET) method, so I used PostPage instead of GetPage.
Request from web browser looks:
POST
http://film.wp.pl/p/szukaj.html HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-
excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwav
e-flash, */*
Referer:
http://film.wp.pl/p/szukaj.html
Accept-Language: pl
Content-Type: application/x-www-form-urlencoded
Proxy-Connection: Keep-Alive
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2)
Host: film.wp.pl
Content-Length: 40
Pragma: no-cache
Cookie: statid=[my IP].19903107445586668; RMID=503730d25a5ef49d
fromBox=1&szukaj=girl+next+door&lista=a0
Request from AMC looks:
POST
http://film.wp.pl:80/p/szukaj.html HTTP/1.0
Content-Type: */*
Content-Length: 40
Proxy-Connection: keep-alive
Host: film.wp.pl
Accept: text/html, */*
User-Agent: Mozilla/5.0 (compatible; Ant Movie Catalog using Indy Library)
Authorization: Basic Og==
Proxy-Authorization: Basic Og==
fromBox=1&szukaj=girl+next+door&lista=a0
but as response i get page with info: "Nie podano frazy do szukania..." (which mean something like: "No phrase for searching...").
Maybe someone has any ideas...? Maybe I need reacher PostPage method (where can I put "Content-Type" for example)?
Big thx in advance,
Maurycy