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 in url.py, line 147 #57

Closed
Nekmo opened this issue Oct 22, 2018 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Nekmo
Copy link
Owner

Nekmo commented Oct 22, 2018

Traceback (most recent call last):
  File "/home/nekmo/Workspace/dirhunt/dirhunt/exceptions.py", line 43, in wrapped
    return func(*args, **kwargs)
  File "/home/nekmo/Workspace/dirhunt/dirhunt/crawler_url.py", line 69, in start
    processor.process(text, soup)
  File "/home/nekmo/Workspace/dirhunt/dirhunt/processors.py", line 249, in process
    for link in filter(lambda x: x.url.endswith('/'), links):
  File "/home/nekmo/Workspace/dirhunt/dirhunt/processors.py", line 249, in <lambda>
    for link in filter(lambda x: x.url.endswith('/'), links):
  File "/home/nekmo/Workspace/dirhunt/dirhunt/url.py", line 147, 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 Oct 22, 2018
@Nekmo Nekmo added this to the v0.6.0 milestone Oct 22, 2018
@Nekmo Nekmo self-assigned this Oct 22, 2018
@Nekmo Nekmo closed this as completed Oct 22, 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