You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just ran dirhunt http://gravitytales.com to see what would happen on a site with many links...
Looks like dirhunt ran into some non ascii characters:
Traceback (most recent call last):
File "/usr/local/bin/dirhunt", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/dirhunt/management.py", line 160, in main
catch(hunt)()
File "/usr/local/lib/python2.7/dist-packages/dirhunt/exceptions.py", line 33, in wrap
fn(*args, **kwargs)
File "/home/user/.local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/home/user/.local/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/user/.local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/user/.local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/dirhunt/management.py", line 151, in hunt
catch_keyboard_interrupt(crawler.print_results, crawler.restart)(set(exclude_flags), set(include_flags))
File "/usr/local/lib/python2.7/dist-packages/dirhunt/utils.py", line 37, in wrap
return fn(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/dirhunt/crawler.py", line 149, in print_results
self.echo(result)
File "/usr/local/lib/python2.7/dist-packages/dirhunt/crawler.py", line 115, in echo
self.std.write(str(body))
File "/usr/local/lib/python2.7/dist-packages/dirhunt/processors.py", line 194, in __str__
body = self.url_line()
File "/usr/local/lib/python2.7/dist-packages/dirhunt/processors.py", line 94, in url_line
body += ' {} '.format(self.crawler_url.url.url)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 251-252: ordinal not in range(128)
I don't know which exact site causes this as the last url before the stacktrace changes... so just run it on the base domain and wait until it crashes...
The text was updated successfully, but these errors were encountered:
No problem and thanks for the quicks response.
I can confirm that it works with python3 (that's some badass real-time support service you got there^^).
I just ran
dirhunt http://gravitytales.com
to see what would happen on a site with many links...Looks like dirhunt ran into some non ascii characters:
I don't know which exact site causes this as the last url before the stacktrace changes... so just run it on the base domain and wait until it crashes...
The text was updated successfully, but these errors were encountered: