LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   javascript enabled browser command log file logfile (https://www.linuxquestions.org/questions/linux-networking-3/javascript-enabled-browser-command-log-file-logfile-564486/)

secretlydead 06-25-2007 09:44 PM

javascript enabled browser command log file logfile
 
I need to write a program to automate the daily task of downloading a .csv file from a website that accesses a database. (I do not have direct access to the database.)


The script needs to run through various commands.

I'd like to get these like you can through lynx, with the lynx -cmd_log=filename http://www.website.com... of courses, lynx does not support javascript.


What web browser can I use to navigate this website and generate a command logfile for use in an automated script?

unSpawn 06-26-2007 05:48 PM

Just an idea, but client-side Javascript could also be used to string together some parameters that get sent to the server to "make" the CSV file contents. If that's the case logging the actual request could get you the full URI you could use in a script. Wedging a proxy, header-reading extension or tcpdump in between should show.


All times are GMT -5. The time now is 07:24 AM.