H
Hannes Rammer
Hi when i get this url
http://www.basketball-bund.net/index.jsp?Action=100&Verband=100
it shows a table with basketball info at page 1
if i want to go to page 2
this is the working url
http://www.basketball-bund.net/index.jsp?Action=100&Verband=100&startrow=10
like it says it starts with the 10th result...
wellif i enter the url into the browser address bar it works fine.. but
when i look for the html in Hpricot it just returns the first page..
ive found out that if the startrow bit is wrong then it always shows the
first page.. but itseems to be right as its working in the browser...
i got the same problem using
URI.parse
here is my code
q =
'http://www.basketball-bund.net/index.jsp?Action=100&Verband=100&viewid=&startrow=10'
f = open(q)
f.rewind
doc = Hpricot(Iconv.conv('utf-8', f.charset, f.readlines.join("\n")))
form = doc.search("//form[@name=ligaliste]")
can anyone help me pls
thx
http://www.basketball-bund.net/index.jsp?Action=100&Verband=100
it shows a table with basketball info at page 1
if i want to go to page 2
this is the working url
http://www.basketball-bund.net/index.jsp?Action=100&Verband=100&startrow=10
like it says it starts with the 10th result...
wellif i enter the url into the browser address bar it works fine.. but
when i look for the html in Hpricot it just returns the first page..
ive found out that if the startrow bit is wrong then it always shows the
first page.. but itseems to be right as its working in the browser...
i got the same problem using
URI.parse
here is my code
q =
'http://www.basketball-bund.net/index.jsp?Action=100&Verband=100&viewid=&startrow=10'
f = open(q)
f.rewind
doc = Hpricot(Iconv.conv('utf-8', f.charset, f.readlines.join("\n")))
form = doc.search("//form[@name=ligaliste]")
can anyone help me pls
thx