LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-11-2005, 03:17 AM   #1
noware
Member
 
Registered: Oct 2005
Location: Hungary
Distribution: FC6 , freeBSD
Posts: 87

Rep: Reputation: 15
wget fails when i want to download from a URL which contains "=" or "&'


Hi All!

I just wanted to get some stuff from kde-llook.org and took this command :

wget -r --accept=jpg,JPG
......kde-look.org/index.php?xcontentmode=1x2x3x4x5x6x7

and wget said :

........kde-look.org/index.php?xcontentmode=1x2x3x4x5x6x7
Invalid Argument

My question is, how can i download from such a location.

Thx, Regards
 
Old 11-11-2005, 07:10 AM   #2
trevelluk
Member
 
Registered: Nov 2003
Location: Bristol, UK
Distribution: Debian Lenny, Gentoo (at work)
Posts: 388

Rep: Reputation: 32
Try putting the URL in quotes.
 
Old 11-12-2005, 03:31 AM   #3
noware
Member
 
Registered: Oct 2005
Location: Hungary
Distribution: FC6 , freeBSD
Posts: 87

Original Poster
Rep: Reputation: 15
It fails again

Hi!

I tried to put the URL in quotes , even in double quotes, but it fails again with the same error message.
 
Old 11-12-2005, 11:55 AM   #4
trevelluk
Member
 
Registered: Nov 2003
Location: Bristol, UK
Distribution: Debian Lenny, Gentoo (at work)
Posts: 388

Rep: Reputation: 32
Ah, hang on a minute. Are you actually typing all those dots at the beginning? For me, then running wget -r --accept=jpg,JPG
http://kde-look.org/index.php?xconte...=1x2x3x4x5x6x7 seems to work.
 
Old 11-13-2005, 04:44 AM   #5
noware
Member
 
Registered: Oct 2005
Location: Hungary
Distribution: FC6 , freeBSD
Posts: 87

Original Poster
Rep: Reputation: 15
Why i put those dots into the URL is becouse of this site's limitations. I wrote the correct URL into the command, i copy-pasted it from my browser. But i tried it on my company machine, which is running windoze(!!!!!??????#&@#>&#@#), i took this command inside a cygwin bash, and i also tried the gnu-wget for win as well, but both fails with the same message.
 
Old 11-13-2005, 04:52 AM   #6
trevelluk
Member
 
Registered: Nov 2003
Location: Bristol, UK
Distribution: Debian Lenny, Gentoo (at work)
Posts: 388

Rep: Reputation: 32
Hmmm, to be honest, I'm out of ideas. Sorry, and hope you get it sorted.
 
Old 11-13-2005, 04:57 AM   #7
noware
Member
 
Registered: Oct 2005
Location: Hungary
Distribution: FC6 , freeBSD
Posts: 87

Original Poster
Rep: Reputation: 15
Thanks for your replies Trvelluk, at least now i know that what i wanted could be done somehow. Maybe i should try this on some linux-based machine. I hate this windoze stuff!
 
Old 11-13-2005, 07:35 AM   #8
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Re: It fails again

Quote:
Originally posted by noware
Hi!

I tried to put the URL in quotes , even in double quotes, but it fails again with the same error message.
You should at least use single quotes, so the special characters inside the URL are hidden from the shell. Otherwise they are interpreted by the shell.

KDE-look does some strange things. You can use 'wget' to download all individual files, but it's more difficult to download the HTML pages. I think they store a lot of data in sessions/cookies, because I cannot find any indication of those at the URL/query-string.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to download rpm packages of "gocr" and "kooka" satimis Linux - Software 6 02-23-2006 11:35 PM
Where to download precompiled bash binaries, such as "time" and "top"? elinuxqs Linux - Newbie 12 11-14-2005 08:36 PM
difference between "Web server local URL" and "IPv4 address"? kpachopoulos Linux - General 2 09-17-2004 01:30 PM
Does "ac97 & RH8" imply "buy a Sound Blaster Live"? nicktoop Linux - Hardware 3 02-13-2004 08:53 AM
Monthly Archiving Script... help with "date" & "cron" Supp0rtLinux Linux - Software 3 01-03-2003 09:29 PM


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

Main Menu
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