Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The url used is : https://www.amazon.com/Harry-Potter-Sorcerers-Stone-Rowling/dp/059035342X/ref=sr_1_1?ie=UTF8&qid=1474762978&sr=8-1&keywords=harry+potter+and+the+sorcerer%27s+stone
- URL INFO :
- https://www.amazon.com/Harry-Potter-Sorcerers-Stone-Rowling/dp/059035342X/ref=sr_1_1?ie=UTF8&qid=1474762978&sr=8-1&keywords=harry+potter+and+the+sorcerer%27s+stone:
- Content Type: text/html
- Content Length: 1378
- Last Modified: Fri Jul 08 19:26:59 EDT 2016
- Expiration: 0
- Content Encoding: null
- URL without agent :
- Contents of the following URL: https://www.amazon.com/Harry-Potter-Sorcerers-Stone-Rowling/dp/059035342X/ref=sr_1_1?ie=UTF8&qid=1474762978&sr=8-1&keywords=harry+potter+and+the+sorcerer%27s+stone
- Exception in thread "main" java.io.IOException: Server returned HTTP response code: 503 for URL: https://www.amazon.com/Harry-Potter-Sorcerers-Stone-Rowling/dp/059035342X/ref=sr_1_1?ie=UTF8&qid=1474762978&sr=8-1&keywords=harry+potter+and+the+sorcerer%27s+stone
- at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
- at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
- at java.net.URL.openStream(Unknown Source)
- at WebpageReaderWithoutAgent.read(WebpageReaderWithoutAgent.java:11)
- at WebpageReaderWithoutAgent.main(WebpageReaderWithoutAgent.java:24)
- URL with agent :
- Printed out 8k+ lines
- The contents of the outputs are attached.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement