Personal Video Database
English => Development => Topic started by: geggi on January 14, 2011, 04:31:28 pm
-
I'm currently working on a new script for moviepilot.de.
It works fine for data I can parse without being logged in, yet I want to log in to access my personal rating of the movies.
I failed to use the GetLoginInfo(URL, params) function. What is the syntax of the params string?
Assuming my username and password are myusername and mypassword. The login form at http://www.moviepilot.de/login requires "username" and "password".
What params string must I use? Setting 'params := "username=myusername&password=mypassword"; ' did not work.
geggi
-
What did you set for URL?
-
BASE_URL = 'http://www.moviepilot.de';
URL := BASE_URL + '/login';
-
Try adding a slash to URL, like this:
URL := BASE_URL + '/login/';
or
Adding ? before params, like this:
?username=myusername&password=mypassword