You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated RoboBrowser class to default to a retry multiplier of 0
instead of None. Previously when set to None a TypeError would be
raised in the get_backoff_time method of urllib3's Retry class.
[Resolvesjmcarp#51]
rcutmore
added a commit
to rcutmore/robobrowser
that referenced
this issue
Oct 14, 2015
Updated RoboBrowser class to default to a retry multiplier of 0
instead of None. Previously when set to None a TypeError would be
raised in the get_backoff_time method of urllib3's Retry class.
[Resolvesjmcarp#51]
Updated RoboBrowser class to default to a retry multiplier of 0
instead of None. Previously when set to None a TypeError would be
raised in the get_backoff_time method of urllib3's Retry class.
[Resolvesjmcarp#51]
sorry, i dont understand english.
if you set parameter tries , parameter can not be None(it's def ,it's be 0 better
error code :
import robobrowser
r = robobrowser.RoboBrowser(tries=3)
r.open("http://www.gosdfagle.com") #any not exist site
to fix this:
file: browser.py
line 70:
def init(self, session=None, parser=None, user_agent=None,
history=True, timeout=None, allow_redirects=True, cache=False,
cache_patterns=None, max_age=None, max_count=None, tries=None,
multiplier=None):
change to:
def init(self, session=None, parser=None, user_agent=None,
history=True, timeout=None, allow_redirects=True, cache=False,
cache_patterns=None, max_age=None, max_count=None, tries=None,
multiplier=0):
The text was updated successfully, but these errors were encountered: