From 8450781d528f5753fb5b5644a39f91558c29d5db Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 21 Sep 2012 22:50:18 +0000 Subject: [PATCH] Handle HTTP Redirect 307. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@361 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/bkmk_rsimple.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Robots/bkmk_rsimple.py b/Robots/bkmk_rsimple.py index 6b61908..75ac27f 100644 --- a/Robots/bkmk_rsimple.py +++ b/Robots/bkmk_rsimple.py @@ -1,6 +1,7 @@ """Simple, strightforward robot This file is a part of Bookmarks database and Internet robot. + """ __author__ = "Oleg Broytman " @@ -25,7 +26,8 @@ from parse_html import parse_html class RedirectException(Exception): reloc_dict = { 301: "perm.", - 302: "temp.", + 302: "temp2.", + 307: "temp7.", "html": "html" } def __init__(self, errcode, newurl): -- 2.39.5