ParamSpider icon indicating copy to clipboard operation
ParamSpider copied to clipboard

9

Open sasholy opened this issue 1 year ago • 4 comments

sasholy avatar Mar 09 '24 17:03 sasholy

Hi, I have also Traceback issue.

[INFO] Fetching URLs for https://kali.org
[INFO] Found 9351 URLs for https://kali.org
[INFO] Cleaning URLs for https://kali.org
[INFO] Found 3232 URLs after cleaning
[INFO] Extracting URLs with parameters
Traceback (most recent call last):
  File "/usr/local/bin/paramspider", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/moh/.local/lib/python3.11/site-packages/paramspider/main.py", line 161, in main
    fetch_and_clean_urls(domain, extensions, args.stream, args.proxy, args.placeholder)
  File "/home/moh/.local/lib/python3.11/site-packages/paramspider/main.py", line 111, in fetch_and_clean_urls
    with open(result_file, "w") as f:
         ^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'results/https://kali.org.txt'

akhavanmohsen avatar Mar 10 '24 03:03 akhavanmohsen

@sasholy Your error is due to using python2.7, you are getting invalid syntax on logging.info(f"{Fore.YELLOW}[INFO]{Style.RESET_ALL} Fetching URLs for {Fore.CYAN + domain + Style.RESET_ALL}") because format strings (f"{}") were added in python3.6+. Use a version of python equal to or higher than 3.6

NotoriousRebel avatar Mar 27 '24 20:03 NotoriousRebel

Install it with pip3 install .

123yash8 avatar Apr 22 '24 17:04 123yash8

don't use python2.7 pip version use pip3 python3.6+ version , that is your problem

Anas-jaf avatar Aug 07 '24 14:08 Anas-jaf