diff --git a/.gitignore b/.gitignore index 52793b4..3f3912c 100644 --- a/.gitignore +++ b/.gitignore @@ -103,4 +103,7 @@ venv.bak/ /site # mypy -.mypy_cache/ \ No newline at end of file +.mypy_cache/ + +# Visual Studio Code +.vscode \ No newline at end of file diff --git a/requests_html.py b/requests_html.py index 513cbe8..8ccc606 100644 --- a/requests_html.py +++ b/requests_html.py @@ -577,7 +577,7 @@ class HTML(BaseParser): if self.url == DEFAULT_URL: reload = False - for i in range(retries): + for _ in range(retries): if not content: try: