I'm struggling with the getForm
and the problem of redirecting my query. I've tried to experiment with cookiefile
and followlocation
as in other topics in Stackoverflow but with no result.
My code:
getForm("http://korpus.pl/poliqarp/poliqarp.php",
query = "pies", corpus = "2", showMatch = "1",showContext = "3",
leftContext = "5", rightContext = "5", wideContext = "50", hitsPerPage = "10",
.opts = curlOptions(
verbose = TRUE,
followlocation=TRUE
)
)
Am I right that I'm getting the the content of the redirection page? If so how can I bypass it?