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

TypeError: 'NoneType' object is not subscriptable #8

Closed
Nekmo opened this issue Feb 3, 2018 · 0 comments
Closed

TypeError: 'NoneType' object is not subscriptable #8

Nekmo opened this issue Feb 3, 2018 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Nekmo
Copy link
Owner

Nekmo commented Feb 3, 2018

Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/dirhunt/crawler.py", line 29, in wrapped
return func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/dirhunt/crawler.py", line 83, in start
processor.process(text, soup)
File "/usr/lib/python3.6/site-packages/dirhunt/processors.py", line 202, in process
self.links(soup)
File "/usr/lib/python3.6/site-packages/dirhunt/crawler.py", line 29, in wrapped
return func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/dirhunt/processors.py", line 210, in links
if not url.is_valid():
File "/usr/lib/python3.6/site-packages/dirhunt/url.py", line 124, in is_valid
return bool(self.urlparsed)
File "/usr/lib/python3.6/site-packages/dirhunt/crawler.py", line 83, in start
processor.process(text, soup)
File "/usr/lib/python3.6/site-packages/dirhunt/url.py", line 25, in urlparsed
address = address.url
File "/usr/lib/python3.6/site-packages/dirhunt/url.py", line 113, in url
return self.urlparsed[0] + '://' + self.urlparsed[1] + self.full_path
TypeError: 'NoneType' object is not subscriptable

@Nekmo Nekmo added the bug Something isn't working label Feb 3, 2018
@Nekmo Nekmo added this to the v0.2.0 milestone Feb 3, 2018
@Nekmo Nekmo self-assigned this Feb 3, 2018
Nekmo added a commit that referenced this issue Feb 11, 2018
@Nekmo Nekmo closed this as completed Feb 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant