From 9c331300ebd70e9a2ed21be8483ba40cf69b9736 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 19 Mar 2017 01:49:17 -1000 Subject: [PATCH] crawler: move UAHandler to basic Fuck u feedburner --- morss/crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/crawler.py b/morss/crawler.py index bb97a83..2022dae 100644 --- a/morss/crawler.py +++ b/morss/crawler.py @@ -39,9 +39,9 @@ def custom_handler(accept=None, strict=False, delay=None, encoding=None, basic=F handlers.append(GZIPHandler()) handlers.append(HTTPEquivHandler()) handlers.append(HTTPRefreshHandler()) + handlers.append(UAHandler(DEFAULT_UA)) if not basic: - handlers.append(UAHandler(DEFAULT_UA)) handlers.append(AutoRefererHandler()) handlers.append(EncodingFixHandler(encoding))