megadose / OnionSearch

OnionSearch is a script that scrapes urls on different .onion search engines.
GNU General Public License v3.0
1.16k stars 153 forks source link

Number of processes must be at least 1 #9

Closed johala09 closed 2 years ago

johala09 commented 2 years ago

Hi !

I installed your tool to try it but I can't run it. Tor is install, tor service is launched but when I ran sudo onionsearch "computer" here is what I have :

search.py started with 0 processing units...
Traceback (most recent call last):
  File "/usr/local/bin/onionsearch", line 11, in <module>
    load_entry_point('onionsearch==1.2', 'console_scripts', 'onionsearch')()
  File "/usr/local/lib/python3.8/dist-packages/onionsearch-1.2-py3.8.egg/onionsearch/core.py", line 938, in scrape
  File "/usr/lib/python3.8/multiprocessing/context.py", line 119, in Pool
    return Pool(processes, initializer, initargs, maxtasksperchild,
  File "/usr/lib/python3.8/multiprocessing/pool.py", line 205, in __init__
    raise ValueError("Number of processes must be at least 1")
ValueError: Number of processes must be at least 1

Something I did wrong ?