Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnboundLocalError #7

Open
jaikishantulswani opened this issue Nov 14, 2018 · 1 comment
Open

UnboundLocalError #7

jaikishantulswani opened this issue Nov 14, 2018 · 1 comment

Comments

@jaikishantulswani
Copy link

Hi @jordanpotti ,
CloudScraper works fine when we supply a single domain but gives error when we try to extract links from list of hosts using -l flag.

HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb4430c8c>: Failed to establish a new connection: [Errno -2] Name or service not known',)) Traceback (most recent call last): File "CloudScraper.py", line 129, in <module> main() File "CloudScraper.py", line 119, in main start(line_mod.rstrip(), arguments.depth) File "CloudScraper.py", line 32, in start soup = BeautifulSoup(start_page.text, "lxml") UnboundLocalError: local variable 'start_page' referenced before assignment

@mrthankyou
Copy link

This occurs when a single domain is supplied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants