nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Wget from dynamic url?

This is a discussion on Wget from dynamic url? within the Linux software forums, part of the Linux Getting Started category; I tried downloading a web site from url that ends with search&channel=24 then I realized that wget only considers url ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 11-18-2006, 07:49 AM
Junior Member
User
 
Join Date: Jun 2006
Posts: 21
Rep Power: 0
karabaja
Default Wget from dynamic url?

I tried downloading a web site from url that ends with search&channel=24 then I realized that wget only considers url up to a & sign. I tried searching the net and haven't found any solution. Is there a way for wget to download from dynamic urls, or some alternative tool for this?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-18-2006, 04:32 PM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
My distro: Suse, RHEL, Vista
Posts: 154
Rep Power: 4
sweta will become famous soon enough
Default

Try to put url in single quote 'url'

Code:
wget 'http://domain.com/file/?search&channel=24'
__________________
Friends - v-nessa - missyAdmin - LinuxChix
Reply With Quote
  #3 (permalink)  
Old 11-18-2006, 06:00 PM
Junior Member
User
 
Join Date: Jun 2006
Posts: 21
Rep Power: 0
karabaja
Default

Quote:
Originally Posted by sweta
Try to put url in single quote 'url'

Code:
wget 'http://domain.com/file/?search&channel=24'
Thx a lot, that works fine.
Reply With Quote
  #4 (permalink)  
Old 11-18-2006, 06:22 PM
Junior Member
User
 
Join Date: Jun 2006
Posts: 21
Rep Power: 0
karabaja
Default

Now I have a new problem. It seems I can't rename this file. When I try:
Code:
mv action=search&channel=24 newname
it just gives me newname-command not found
Reply With Quote
  #5 (permalink)  
Old 11-18-2006, 06:47 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Khhkkhh use single quote again...
Code:
mv 'action=search&channel=24' newname
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #6 (permalink)  
Old 11-18-2006, 08:09 PM
Junior Member
User
 
Join Date: Jun 2006
Posts: 21
Rep Power: 0
karabaja
Default

Quote:
Originally Posted by rockdalinux
Khhkkhh use single quote again...
Code:
mv 'action=search&channel=24' newname
I should have thought of that

Thx.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
wget url marked 'save target-as' sasuhaib The Hangout 0 09-14-2007 12:17 PM
dynamic creations of files kavi Coding in General 6 10-16-2005 05:34 PM
Dynamic DNS , should get updates automatically from DHCP sonaikar Linux software 1 03-28-2005 01:14 PM


All times are GMT +5.5. The time now is 12:18 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36