From: Oleg Broytman Date: Fri, 21 Sep 2012 22:50:18 +0000 (+0000) Subject: Handle HTTP Redirect 307. X-Git-Tag: v4.5.3~15 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=8450781d528f5753fb5b5644a39f91558c29d5db;p=bookmarks_db.git Handle HTTP Redirect 307. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@361 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- 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):