update
Browse files- corpuscrawler-ga.py +2 -0
corpuscrawler-ga.py
CHANGED
@@ -245,6 +245,8 @@ def fetch(cache_dir, url):
|
|
245 |
pass
|
246 |
headers = Message(headers)
|
247 |
return FetchResult(headers, content, url, filepath)
|
|
|
|
|
248 |
except IOError:
|
249 |
raise Exception("fetch() failed")
|
250 |
|
|
|
245 |
pass
|
246 |
headers = Message(headers)
|
247 |
return FetchResult(headers, content, url, filepath)
|
248 |
+
else:
|
249 |
+
raise Exception("splitting headers and content failed")
|
250 |
except IOError:
|
251 |
raise Exception("fetch() failed")
|
252 |
|