From: Fernando C. <fc...@gm...> - 2016-03-22 16:10:02
|
Hi there, I worked on a script to scrap some information from a web site. Before, I just used a shell script that called wget with the right parameters to do a session log-in, retrieve the session cookies, then afterwards perform the required calls to several .php scripts to retrieve the info I wanted to a file on disk, which I ten parsed. BUT the server changed its code, and while the URLs for the PHP scripts remain the same, what was passed before as HTTP-GET requests is now handled via POST URLencoded AJAX requests, and the server is refusing http get requests so my scripts work no more. Q: what would be the easiest way to redo my scripts in Jython, particularly, is there any built-in code to deal with ajax POST requests, and urlencode? or any third party Java library that is known to work well from Jython? Thanks in advance. FC -- During times of Universal Deceit, telling the truth becomes a revolutionary act Durante épocas de Engaño Universal, decir la verdad se convierte en un Acto Revolucionario - George Orwell |