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: local variable 'soup' referenced before assignment #2

Closed
gr3ym1nd opened this issue Sep 14, 2020 · 2 comments
Closed

Comments

@gr3ym1nd
Copy link

Hi,
I receive with the call of BlackDir with the following call

python3 BlackDir.py --dork inurl:?id=

the error message:
Traceback (most recent call last):
File "BlackDir.py", line 792, in
dorks(dork, site, text)
File "BlackDir.py", line 467, in dorks
for g in soup.find_all('div', class_='r'):
UnboundLocalError: local variable 'soup' referenced before assignment

I tried without a proxy, tried with proxychains and through a fixed configured VPN. The error message is always the same.
If I assign soup directly in BlackDir.py above the line 464, i don't get the error message anymore, but no results from Google come in either.

All requirements are successfully installed.
Python 3.82

@JehadAlqurashi
Copy link
Owner

don't use proxy this is error because use proxy

@JehadAlqurashi
Copy link
Owner

JehadAlqurashi commented Sep 25, 2020

Screenshot 2020-09-25 18:45:02

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