Projects STRLCPY OnionSearch Commits f1560632
🤬
  • Fix https://github.com/megadose/OnionSearch/issues/5

  • Loading...
  • megadose committed 3 years ago
    f1560632
    1 parent 274af4f4
  • ■ ■ ■ ■ ■ ■
    onionsearch/core.py
    skipped 75 lines
    76 76   
    77 77   
    78 78  parser = argparse.ArgumentParser(epilog=print_epilog(), formatter_class=argparse.RawTextHelpFormatter)
    79  -parser.add_argument("--proxy", default='localhost:9050', type=str, help="Set Tor proxy (default: 127.0.0.1:9050)")
     79 +parser.add_argument("--proxy", default='localhost:9150', type=str, help="Set Tor proxy (default: 127.0.0.1:9150)")
    80 80  parser.add_argument("--output", default='output_$SEARCH_$DATE.txt', type=str,
    81 81   help="Output File (default: output_$SEARCH_$DATE.txt), where $SEARCH is replaced by the first "
    82 82   "chars of the search string and $DATE is replaced by the datetime")
    skipped 852 lines
    935 935   freeze_support()
    936 936   
    937 937   results = {}
    938  - with Pool(units, initializer=tqdm.set_lock, initargs=(tqdm.get_lock(),)) as p:
     938 + with Pool(units) as p:
    939 939   results_map = p.map(run_method, func_args)
    940 940   results = reduce(lambda a, b: a + b if b is not None else a, results_map)
    941 941   
    skipped 20 lines
  • ■ ■ ■ ■
    setup.py
    skipped 3 lines
    4 4   
    5 5  setup(
    6 6   name='onionsearch',
    7  - version="1.1",
     7 + version="1.2",
    8 8   packages=find_packages(),
    9 9   author="megadose",
    10 10   install_requires=["requests","argparse","termcolor","tqdm", "html5lib","bs4","PySocks"],
    skipped 10 lines
Please wait...
Page is in error, reload to recover