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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-11-2005, 03:17 AM
|
#1
|
|
Member
Registered: Oct 2005
Location: Hungary
Distribution: FC6 , freeBSD
Posts: 87
Rep:
|
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
|
|
|
|
11-11-2005, 07:10 AM
|
#2
|
|
Member
Registered: Nov 2003
Location: Bristol, UK
Distribution: Debian Lenny, Gentoo (at work)
Posts: 388
Rep:
|
Try putting the URL in quotes.
|
|
|
|
11-12-2005, 03:31 AM
|
#3
|
|
Member
Registered: Oct 2005
Location: Hungary
Distribution: FC6 , freeBSD
Posts: 87
Original Poster
Rep:
|
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.
|
|
|
|
11-12-2005, 11:55 AM
|
#4
|
|
Member
Registered: Nov 2003
Location: Bristol, UK
Distribution: Debian Lenny, Gentoo (at work)
Posts: 388
Rep:
|
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.
|
|
|
|
11-13-2005, 04:44 AM
|
#5
|
|
Member
Registered: Oct 2005
Location: Hungary
Distribution: FC6 , freeBSD
Posts: 87
Original Poster
Rep:
|
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.
|
|
|
|
11-13-2005, 04:52 AM
|
#6
|
|
Member
Registered: Nov 2003
Location: Bristol, UK
Distribution: Debian Lenny, Gentoo (at work)
Posts: 388
Rep:
|
Hmmm, to be honest, I'm out of ideas. Sorry, and hope you get it sorted.
|
|
|
|
11-13-2005, 04:57 AM
|
#7
|
|
Member
Registered: Oct 2005
Location: Hungary
Distribution: FC6 , freeBSD
Posts: 87
Original Poster
Rep:
|
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!
|
|
|
|
11-13-2005, 07:35 AM
|
#8
|
|
Member
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:18 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|