LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-28-2009, 12:57 PM   #1
Geneset
Member
 
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
G
 
  


Reply

Tags
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 08:06 PM
PHP functions - default arguments jkobrien Programming 2 01-26-2007 05:36 AM
GTK additional arguments for signals bendeco13 Programming 2 11-09-2005 01:04 AM
PHP URL Arguments cb8100 Programming 2 03-26-2005 03:39 AM
Issue with recursive script passing arguments gauge73 Linux - Newbie 0 01-06-2004 08:16 PM


All times are GMT -5. The time now is 10:11 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration