-
Notifications
You must be signed in to change notification settings - Fork 75
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
doesn't work for me on 3.9 #14
Comments
Same here |
me as well |
I have solved that by changing the import from urllib to urllib.request and urllib.error
|
Crawling http://pastebin.com Press ctrl+c to save file to log.txt
Traceback (most recent call last):
File "C:\Users\zied_\Desktop\pwnbin-master\pwnbin.py", line 27, in main
root_html = BeautifulSoup(fetch_page(root_url), 'html.parser')
File "C:\Users\zied_\Desktop\pwnbin-master\pwnbin.py", line 131, in fetch_page
response = urllib.request.urlopen(page)
AttributeError: module 'urllib' has no attribute 'request'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\zied_\Desktop\pwnbin-master\pwnbin.py", line 187, in
main(sys.argv[1:])
File "C:\Users\zied_\Desktop\pwnbin-master\pwnbin.py", line 77, in main
except urllib.error.HTTPError as err:
AttributeError: module 'urllib' has no attribute 'error'
The text was updated successfully, but these errors were encountered: