| skipped 17 lines |
18 | 18 | | from urllib3.exceptions import ProtocolError |
19 | 19 | | |
20 | 20 | | ENGINES = { |
21 | | - | "ahmia": "http://msydqstlz2kzerdg.onion", |
| 21 | + | "ahmia": "http://msydqstlz2kzerdg.onion", # Offline? |
22 | 22 | | "darksearchio": "http://darksearch.io", |
23 | 23 | | "onionland": "http://3bbad7fauom4d6sgppalyqddsqbf5u5p56b5k5uk2zxsy3d6ey2jobad.onion", |
24 | | - | "notevil": "http://hss3uro2hsxfogfq.onion", |
25 | | - | "darksearchenginer": "http://7pwy57iklvt6lyhe.onion", |
| 24 | + | "notevil": "http://hss3uro2hsxfogfq.onion", # Offline? |
| 25 | + | "darksearchenginer": "http://l4rsciqnpzdndt2llgjx3luvnxip7vbyj6k6nmdy4xs77tx6gkd24ead.onion", |
26 | 26 | | "phobos": "http://phobosxilamwcg75xt22id7aywkzol6q6rfl2flipcqoc4e4ahima5id.onion", |
27 | | - | "onionsearchserver": "http://oss7wrm7xvoub77o.onion", |
28 | | - | "torgle": "http://submarhglcl66nz6.onion/", |
29 | | - | "torgle1": "http://torgle5fj664v7pf.onion", |
30 | | - | "onionsearchengine": "http://onionf4j3fwqpeo5.onion", |
31 | | - | "tordex": "http://tordex7iie7z2wcg.onion", |
32 | | - | "tor66": "http://tor66sezptuu2nta.onion", |
33 | | - | "tormax": "http://tormaxunodsbvtgo.onion", |
34 | | - | "haystack": "http://haystakvxad7wbk5.onion", |
35 | | - | "multivac": "http://multivacigqzqqon.onion", |
36 | | - | "evosearch": "http://evo7no6twwwrm63c.onion", |
37 | | - | "deeplink": "http://deeplinkdeatbml7.onion", |
| 27 | + | "onionsearchserver": "http://3fzh7yuupdfyjhwt3ugzqqof6ulbcl27ecev33knxe3u7goi3vfn2qqd.onion", |
| 28 | + | "torgle": "http://no6m4wzdexe3auiupv2zwif7rm6qwxcyhslkcnzisxgeiw6pvjsgafad.onion", # "torgle" -> "Submarine" |
| 29 | + | "torgle1": "http://torgle5fj664v7pf.onion", # Offline? |
| 30 | + | "onionsearchengine": "http://onionf4j3fwqpeo5.onion", # Offline? |
| 31 | + | "tordex": "http://tordex7iie7z2wcg.onion", # Offline? |
| 32 | + | "tor66": "http://tor66sewebgixwhcqfnp5inzp5x5uohhdy3kvtnyfxc2e5mxiuh34iid.onion", |
| 33 | + | "tormax": "http://tormaxunodsbvtgo.onion", # Offline? |
| 34 | + | "haystack": "http://haystak5njsmn2hqkewecpaxetahtwhsbsa64jom2k22z5afxhnpxfid.onion", |
| 35 | + | "multivac": "http://multivacigqzqqon.onion", # Offline? |
| 36 | + | "evosearch": "http://evo7no6twwwrm63c.onion", # Offline? |
| 37 | + | "deeplink": "http://deeplinkdeatbml7.onion", # Offline? |
38 | 38 | | } |
39 | 39 | | |
40 | 40 | | desktop_agents = [ |
| skipped 887 lines |
928 | 928 | | stats_dict[e] = 0 |
929 | 929 | | |
930 | 930 | | # Doing multiprocessing |
931 | | - | units = min((cpu_count() - 1), len(func_args)) |
932 | 931 | | if args.mp_units and args.mp_units > 0: |
933 | | - | units = min(args.mp_units, len(func_args)) |
| 932 | + | units = args.mp_units |
| 933 | + | else |
| 934 | + | # Use (cores count - 1), but not less then one, threads |
| 935 | + | units = max((cpu_count() - 1), 1) |
934 | 936 | | print("search.py started with {} processing units...".format(units)) |
935 | 937 | | freeze_support() |
936 | 938 | | |
| skipped 25 lines |