hrantzsch/get-cn

script stops on 404

Closed this issue · 1 comments

When encoutering a 404 the script should not die ;)

get-cn-exe: StatusCodeException (Status {statusCode = 404, statusMessage = "Not Found"}) [("Date","Mon, 29 Feb 2016 10:26:20 GMT"),("Server","PWS/8.1.20.25"),("Content-Length","0"),("Connection","close"),("X-Response-Body-Start",""),("X-Request-URL","GET http://2016.sina.com.cn:80/brazil/2016-02-27/doc-ifxpvysv4941923.shtml")] (CJ {expose = []})

Should be fixed now.