megadose / OnionSearch

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

OnionSearch error | Failed to establish a new connection: '[Errno 61] Connection refused' #38

Open hpcao299 opened 1 month ago

hpcao299 commented 1 month ago

I'm trying to use OnionSearch for investigating purpose, however, it occurs an error. Is there any solution?

onionsearch "abc"                                                          INT ✘
search.py started with 7 processing units...
               Ahmia (#0):   0%|                                                                                         | 0/1 [00:00<?, ?it/s]Exception occured: SOCKSHTTPConnectionPool(host='l4rsciqnpzdndt2llgjx3luvnxip7vbyj6k6nmdy4xs77tx6gkd24ead.onion', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x101a17390>: Failed to establish a new connection: [Errno 61] Connection refused'))
Exception occured: SOCKSHTTPConnectionPool(host='darksearch.io', port=80): Max retries exceeded with url: /api/search?query=abc&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x101a67250>: Failed to establish a new connection: [Errno 61] Connection refused'))
Exception occured: SOCKSHTTPConnectionPool(host='3bbad7fauom4d6sgppalyqddsqbf5u5p56b5k5uk2zxsy3d6ey2jobad.onion', port=80): Max retries exceeded with url: /search?q=abc&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x1006f96d0>: Failed to establish a new connection: [Errno 61] Connection refused'))
                                                                                                                                              Exception occured: SOCKSHTTPConnectionPool(host='torgle5fj664v7pf.onion', port=80): Max retries exceeded with url: /torgle/index-frame.php?query=abc&search=1&engine-ver=2&isframe=0 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x101ed5690>: Failed to establish a new connection: [Errno 61] Connection refused'))                                                               | 0/1 [00:00<?, ?it/s]
Exception occured: SOCKSHTTPConnectionPool(host='onionf4j3fwqpeo5.onion', port=80): Max retries exceeded with url: /search.php?search=abc&submit=Search&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x1020eca90>: Failed to establish a new connection: [Errno 61] Connection refused'))
              Torgle (#3):   0%|                                                                                         | 0/1 [00:00<?, ?it/s]
Exception occured: SOCKSHTTPConnectionPool(host='no6m4wzdexe3auiupv2zwif7rm6qwxcyhslkcnzisxgeiw6pvjsgafad.onion', port=80): Max retries exceeded with url: /search.php?term=abc (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x101e98d90>: Failed to establish a new connection: [Errno 61] Connection refused'))
                                                                                                                                              Exception occured: SOCKSHTTPConnectionPool(host='phobosxilamwcg75xt22id7aywkzol6q6rfl2flipcqoc4e4ahima5id.onion', port=80): Max retries exceeded with url: /search?query=abc&p=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x10640c890>: Failed to establish a new connection: [Errno 61] Connection refused'))                                                                   | 0/1 [00:00<?, ?it/s]
Exception occured: SOCKSHTTPConnectionPool(host='tordex7iie7z2wcg.onion', port=80): Max retries exceeded with url: /search?query=abc&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x101ed7910>: Failed to establish a new connection: [Errno 61] Connection refused'))
Exception occured: SOCKSHTTPConnectionPool(host='tor66sewebgixwhcqfnp5inzp5x5uohhdy3kvtnyfxc2e5mxiuh34iid.onion', port=80): Max retries exceeded with url: /search?q=abc&sorttype=rel&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x1020eed10>: Failed to establish a new connection: [Errno 61] Connection refused'))
               Ahmia (#0):   0%|                                                                                         | 0/1 [00:00<?, ?it/s]
Exception occured: SOCKSHTTPConnectionPool(host='juhanurmihxlp77nkq76byazcldy2hlmovfu2epvl5ankdibsot4csyd.onion', port=80): Max retries exceeded with url: /search/?q=abc (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x1056e6e50>: Failed to establish a new connection: [Errno 61] Connection refused'))
              Tormax (#3):   0%|                                                                                         | 0/1 [00:00<?, ?it/s]
Exception occured: SOCKSHTTPConnectionPool(host='tormaxunodsbvtgo.onion', port=80): Max retries exceeded with url: /search?q=abc (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x101e9b610>: Failed to establish a new connection: [Errno 61] Connection refused'))
Exception occured: SOCKSHTTPConnectionPool(host='haystak5njsmn2hqkewecpaxetahtwhsbsa64jom2k22z5afxhnpxfid.onion', port=80): Max retries exceeded with url: /?q=abc&offset=0 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x106479050>: Failed to establish a new connection: [Errno 61] Connection refused'))
Exception occured: SOCKSHTTPConnectionPool(host='evo7no6twwwrm63c.onion', port=80): Max retries exceeded with url: /evo/search.php?query=abc&start=1&search=1&type=and&mark=bold+text&results=50 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x1020fcb10>: Failed to establish a new connection: [Errno 61] Connection refused'))
Exception occured: SOCKSHTTPConnectionPool(host='multivacigqzqqon.onion', port=80): Max retries exceeded with url: /?q=abc&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x101ee97d0>: Failed to establish a new connection: [Errno 61] Connection refused'))
Exception occured: SOCKSHTTPConnectionPool(host='deeplinkdeatbml7.onion', port=80): Max retries exceeded with url: /index.php (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x105b80590>: Failed to establish a new connection: [Errno 61] Connection refused'))
Exception occured: SOCKSHTTPConnectionPool(host='hss3uro2hsxfogfq.onion', port=80): Max retries exceeded with url: /index.php?q=abc (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x1026d6e50>: Failed to establish a new connection: [Errno 61] Connection refused'))
Exception occured: SOCKSHTTPConnectionPool(host='3fzh7yuupdfyjhwt3ugzqqof6ulbcl27ecev33knxe3u7goi3vfn2qqd.onion', port=80): Max retries exceeded with url: /oss/ (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x102423b10>: Failed to establish a new connection: [Errno 61] Connection refused'))

Report:
  Execution time: 0:00:00.634420 seconds
  Results per engine:
    ahmia: 0
    darksearchio: 0
    onionland: 0
    notevil: 0
    darksearchenginer: 0
    phobos: 0
    onionsearchserver: 0
    torgle: 0
    torgle1: 0
    onionsearchengine: 0
    tordex: 0
    tor66: 0
    tormax: 0
    haystack: 0
    multivac: 0
    evosearch: 0
    deeplink: 0
  Total: 0 links written to output_abc_20240503211816.txt

Error Details

macgreine commented 1 month ago

Don't be offended, have you started tor before doing your search? Not the Tor browser but tor service. command is service tor start /stop and to check if it's running service tor status you should see active