From 72a1342e54cb119fc1622f249cd57152c2a3ee8d Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Sun, 27 Jan 2019 01:30:18 -0600 Subject: [PATCH] made the param tuple vertical --- restscrape/__init__.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/restscrape/__init__.py b/restscrape/__init__.py index 71d3433..a937f89 100644 --- a/restscrape/__init__.py +++ b/restscrape/__init__.py @@ -7,7 +7,14 @@ from restscrape.proxy import create_proxy_iter import time US_PROXY_ITER = create_proxy_iter() -def scrape(url,labels,max_tries=4,proxy_iter = None,wait_for = 0,raw_tags = True): +def scrape( + url, + labels, + proxy_iter = None, + wait_for = 0, + max_tries=4, + raw_tags = True + ): browser = browser_class(headless=False) if proxy_iter is not None: for trial in range(max_tries):