Script variables
The agtlinkedin.psl
script includes the following configurable variables:
# Configurable parameters var $httpTimeout = 100; # Default timeout for http requests. var $readTimeout = 100; # Default timeout for read requests. var $readBufsize = 5000; # Buffer size for readline ops. var $contentType = "application/x-www-form-urlencoded"; # POST content type. var $server = "www.linkedin.com"; # Host name for Linkedin. # The next two strings used to detect between success and failure of an # httpPost request: var $successfulLogin = "<title>LinkedIn</title>"; #HTML element for account settings link var $successfulReset = "{\"result\":{\"message\":\"SUCCESS\",\"responseCode\":200}}"; # Text message in English #Linkedin URL paths var $loginURL = "/home"; # Used for initial login (i.e. https://linkedin.com) var $homepageURL = "/nhome"; var $authURL = "/uas/login-submit"; # Used to submit login credentials var $pwdchgURL = "/psettings/change-password"; # Used to post a password change request.