zs

Zeitungsschau rss to email converter
git clone git://r-36.net/zs
Log | Files | Refs | LICENSE

commit f9891c3921193415865fa7d3aae02407dea12ab0
parent e8137c93ecc14a551eb6c2c0673e866d3d70d5f6
Author: Christoph Lohmann <20h@r-36.net>
Date:   Mon,  2 Nov 2015 20:05:03 +0100

Adding the protocol exception handling for requests.

Diffstat:
zs | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/zs b/zs @@ -67,6 +67,8 @@ def run(db, selfeed=None, dryrun=False, onlychanges=False): retries += 1 except requests.exceptions.ReadTimeout: continue + except requests.exceptions.ChunkedEncodingError: + continue if rcode == 404: estr = "404"