# | Line 11 | Line 11 | import re | |
---|---|---|
11 | ||
12 | # XXX: hack to make Wells Fargo http-equiv redirects actually work | |
13 | mechanize._http.AbstractHeadParser.head_elems = tuple(list(mechanize._http.AbstractHeadParser.head_elems) + ['body']) | |
14 | + | mechanize._http.HTTPRedirectHandler.max_redirections = 20 |
15 | ||
16 | class DuckSoup(MinimalSoup): | |
17 | MARKUP_MASSAGE = copy.copy(MinimalSoup.MARKUP_MASSAGE) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |