View Single Post
Old 09-06-2013, 07:19 PM   #1786
Snowman
Zealot
Snowman can teach chickens to fly.Snowman can teach chickens to fly.Snowman can teach chickens to fly.Snowman can teach chickens to fly.Snowman can teach chickens to fly.Snowman can teach chickens to fly.Snowman can teach chickens to fly.Snowman can teach chickens to fly.Snowman can teach chickens to fly.Snowman can teach chickens to fly.Snowman can teach chickens to fly.
 
Posts: 106
Karma: 3566
Join Date: Aug 2008
Location: London UK
Device: iPhone 5, Kindle K3, Kindle Voyage
Quote:
Originally Posted by JimmXinu View Post
Ffnet has started blocking the default python user agent, it appears. It may be a while before I can do anything about it.
Yes - confirmed. I still have proxomitron lying around, so I fired it up and configured it to spoof a different user agent, then pointed calibre at it:

Connect via proxomitron proxy:
Spoiler:

+++GET 66+++
GET /s/8045114/60/ HTTP/1.1
Host: www.fanfiction.net
User-Agent: Mozilla/4.61 [ja] (X11; I; Linux 2.2.13-33cmc1 i686)
Accept-Encoding: gzip, deflate
Connection: keep-alive

+++RESP 66+++
HTTP/1.1 200 OK
Vary: Accept-Encoding
Last-Modified: Fri, 06 Sep 2013 22:59:54 GMT
X-xss-protection: 1; mode=block
X-frame-options: SAMEORIGIN


Select proxomitron bypass:
Spoiler:

+++GET 70+++
GET /s/8045114/1/ HTTP/1.1
Host: www.fanfiction.net
User-Agent: Python-urllib/2.7
Accept-Encoding: gzip
Connection: keep-alive

+++RESP 70+++
HTTP/1.1 403 Forbidden
Date: Fri, 06 Sep 2013 23:09:53 GMT
Accept-Ranges: bytes
Server: LiteSpeed
Cache-Control: private, no-cache, max-age=0
Pragma: no-cache
Content-Type: text/html
Content-Length: 381
+++CLOSE 70+++


Snowman
Snowman is offline