jesbin / crawler4j

Automatically exported from code.google.com/p/crawler4j
0 stars 0 forks source link

How Can I download the entire html code for a page in .html file? #310

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using?

Please provide any additional information below.

Original issue reported on code.google.com by mansiawa...@gmail.com on 19 Sep 2014 at 6:16

GoogleCodeExporter commented 8 years ago
Follow the basicCrawler in the example code

You will see this line in "BasicCrawler.java":
String html = htmlParseData.getHtml();

That is your entire html for that page.

Now you can save it to disk for example or do anything you want with it...

Original comment by avrah...@gmail.com on 20 Sep 2014 at 6:41

GoogleCodeExporter commented 8 years ago
If you have a question please ask it in the forum and not as an issue.

Original comment by avrah...@gmail.com on 23 Nov 2014 at 8:31