+ 3

Retrieve and save a webpage

How to retrieve the code of an external webpage and save it to a local file?

8th Apr 2017, 1:45 PM
Calviղ
Calviղ - avatar
3 odpowiedzi
+ 2
right click anywhere on the page Save Page As... or find an option in the browser that allows you to view the page source.
8th Apr 2017, 2:11 PM
seamiki
seamiki - avatar
+ 2
@seamiki, I mean programmatically of course.
8th Apr 2017, 2:16 PM
Calviղ
Calviղ - avatar
+ 2
Never assume when you post question as the reader will not for sure. have a look at my codes, there is a java program doing just that. It obviously doesn't work in yhe Code Playground but you can copy it, compile it and run it without problems
8th Apr 2017, 2:20 PM
seamiki
seamiki - avatar