LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-12-2011, 02:21 PM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
How to use WGET from an URL for saving like "Save AS" from Firefox?


Hello,

I would like to wget a page that finish like .... "http://...1st-2008/page2"
this is not an html URL ...

Would anyone have idea hwo to retrieve this whole page + picture in it with a general wget command that would also work for PHP, HMTL, none of them (like my example) ... ?


Thank you in advance!
Cheers
 
Old 08-12-2011, 03:43 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
URLs are not HTML. HTML is often part or all of the content in the HTTP data requested.

When you try to use wget on that URL, what happens/doesn't happen? If you open the page with a GUI web browser, right-click on the page and select 'View Page Source', what does it display? It is possible that the page is composed by a java applet, which I don't think wget will handle; only something capable of hosting a Java Runtime Environment would be able to handle that.

--- rod.
 
Old 08-13-2011, 05:47 AM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by theNbomr View Post
which I don't think wget will handle

--- rod.
too bad curl even I guess.

Code:
wget -r -l1 "http://.../page2"
does not work either
 
  


Reply



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
Java code to implement "wget" to save a web page in linux Kakarot_Rathish Programming 5 03-08-2010 02:02 AM
on url "http://localhost/" error ""The requested URL could not be retrieved " renuaseri Linux - Newbie 1 04-07-2009 12:23 AM
How to enter a URL in to the "exceptions" box in Firefox royeo Linux - General 1 12-15-2006 05:03 PM
wget fails when i want to download from a URL which contains "=" or "&' noware Linux - General 7 11-13-2005 07:35 AM
Firefox freezes at "Save", "Download" kjmorris Linux - Software 4 10-27-2004 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:47 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
Open Source Consulting | Domain Registration