Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-28-2009, 11:57 AM   #1
Registered: Jan 2007
Location: Athlone, ROI
Distribution: Ubuntu Hardy Desktop, Solaris 10, Workstation 2008 x64
Posts: 75

Rep: Reputation: 16
Question wget recursive with additional php arguments

Hi guys, Hope you are all well.

I'm fiddling with come datamining from my local webserver, its a lot of dynamically generated php files, and i want to recursively download all of the pages relevant to what im looking for.

Thats great, except for the dynamically generated php bit. To trim alot of the fat off the page (headers, sidebar, footer, etc) that spawn the recursion off for a whole heap further than i need, the developers kindly left a URL argument to silence them, namely showside=false.

so, i can wget the page.php?whatever&showside=false and its all good, but all of the links from that page point to page.php?somethingelse, instead of page.php?somethingelse&showside=false.

Is there any way i can script a recursive wget that appends the string &showside=false to any links/requests?

Many Regards


php, recursive, server, wget

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
Recursive WGET via FTP 2-tone-joe Linux - Software 4 03-31-2008 07:06 PM
PHP functions - default arguments jkobrien Programming 2 01-26-2007 04:36 AM
GTK additional arguments for signals bendeco13 Programming 2 11-09-2005 12:04 AM
PHP URL Arguments cb8100 Programming 2 03-26-2005 02:39 AM
Issue with recursive script passing arguments gauge73 Linux - Newbie 0 01-06-2004 07:16 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:08 AM.

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