LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-25-2007, 10:44 PM   #1
secretlydead
Member
 
Registered: Sep 2003
Location: Qingdao, China
Distribution: mandriva, slack, red flag
Posts: 249

Rep: Reputation: 31
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?
 
Old 06-26-2007, 06:48 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript Enabled? Tux-O-Matic Programming 2 12-08-2006 05:33 PM
How do I log into file browser with sudo? Fasn8n Ubuntu 2 03-03-2006 03:51 PM
Is there a browser command line tool for testing javascript websites? MensaWater Linux - Software 9 09-06-2005 01:22 PM
io redirection doesn't work? 2>&1 >> logfile.log Thinking Linux - General 5 06-10-2005 05:31 AM
Cant access LQ with javascript enabled BajaNick General 1 11-19-2003 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration