Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > save webpage content

Reply
Thread Tools

save webpage content

 
 
i need chrome 12 downloads
Guest
Posts: n/a
 
      01-04-2012
I want to store the webpage content for the following url. chrome-
extensions://xxx/background.html .
I am not getting error ioexjava.net.UnknownHostException: chrome-
extension..while i used Url url = URL("chrome-extensions://xxx/
background.html") is there any other way to getting the chrome
extensions background page source code???
 
Reply With Quote
 
 
 
 
GGolf
Guest
Posts: n/a
 
      01-04-2012
On 01/04/2012 02:40 PM, i need chrome 12 downloads wrote:
> I want to store the webpage content for the following url. chrome-
> extensions://xxx/background.html .
> I am not getting error ioexjava.net.UnknownHostException: chrome-
> extension..while i used Url url = URL("chrome-extensions://xxx/
> background.html") is there any other way to getting the chrome
> extensions background page source code???

That URL is visible only within Chrome. If you only need to save the
webpage, you could do that within Chrome's Developer Tools, instead of
using Java.
 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      01-04-2012
On Wed, 4 Jan 2012 01:10:27 -0800 (PST), i need chrome 12 downloads
<> wrote, quoted or indirectly quoted someone who
said :

>I want to store the webpage content for the following url. chrome-
>extensions://xxx/background.html .
>I am not getting error ioexjava.net.UnknownHostException: chrome-
>extension..while i used Url url = URL("chrome-extensions://xxx/
>background.html") is there any other way to getting the chrome
>extensions background page source code???


see http://mindprod.com/products.html#FILETRANSFER

You the download utility. It will give you the raw contents of the
page before any JavaScript has had a crack. You will have to load aux
pages to make sense of the whole thing.

see also http://mindprod.com/jgloss/screenscraping.html
--
Roedy Green Canadian Mind Products
http://mindprod.com
If you can't remember the name of some method,
consider changing it to something you can remember.

 
Reply With Quote
 
Arne Vajhøj
Guest
Posts: n/a
 
      01-15-2012
On 1/4/2012 7:21 AM, Roedy Green wrote:
> On Wed, 4 Jan 2012 01:10:27 -0800 (PST), i need chrome 12 downloads
> <> wrote, quoted or indirectly quoted someone who
> said :
>
>> I want to store the webpage content for the following url. chrome-
>> extensions://xxx/background.html .
>> I am not getting error ioexjava.net.UnknownHostException: chrome-
>> extension..while i used Url url = URL("chrome-extensions://xxx/
>> background.html") is there any other way to getting the chrome
>> extensions background page source code???

>
> see http://mindprod.com/products.html#FILETRANSFER
>
> You the download utility. It will give you the raw contents of the
> page before any JavaScript has had a crack. You will have to load aux
> pages to make sense of the whole thing.


Somehow I doubt that will work with a chrome-extensions
any better than OP's code.

Arne

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error: Only Content controls are allowed directly in a content page that contains Content controls. hazz ASP .Net 6 06-09-2010 01:54 PM
cause webpage one to reload when webpage two is closed. Paul ASP .Net 14 06-19-2008 03:02 PM
Clipping a remote webpage with Javascript/XPath and including in a "local" webpage soren625 Javascript 2 12-12-2006 02:09 PM
check if a webpage is forwarding to a other webpage martijn@gamecreators.nl Python 1 09-06-2005 02:27 PM
Email contents of webpage or Form on webpage w/o using Server scripting sifar Javascript 5 08-24-2005 05:47 PM



Advertisments
 



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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57