diff --git a/src/you_get/common.py b/src/you_get/common.py index 43976d4f..09828e5d 100755 --- a/src/you_get/common.py +++ b/src/you_get/common.py @@ -421,6 +421,8 @@ def urlopen_with_retry(*args, **kwargs): if i + 1 == retry_time: raise url_error + time.sleep(5) + def get_content(url, headers={}, decoded=True): """Gets the content of a URL via sending a HTTP GET request.