-
Notifications
You must be signed in to change notification settings - Fork 273
Open
Description
Command that causes the issue
when i do any command with dirhunt it has this error:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Scripts\dirhunt.exe\__main__.py", line 2, in <module>
from dirhunt.management import main
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\management.py", line 13, in <module>
from dirhunt.crawler import Crawler
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\crawler.py", line 14, in <module>
from dirhunt import processors
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\processors.py", line 15, in <module>
from dirhunt.crawler_url import CrawlerUrl
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\crawler_url.py", line 3, in <module>
import cgi
ModuleNotFoundError: No module named 'cgi'
Expected behavior
for it to work and not have any errors
Actual behavior
it had this error:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Scripts\dirhunt.exe\__main__.py", line 2, in <module>
from dirhunt.management import main
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\management.py", line 13, in <module>
from dirhunt.crawler import Crawler
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\crawler.py", line 14, in <module>
from dirhunt import processors
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\processors.py", line 15, in <module>
from dirhunt.crawler_url import CrawlerUrl
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\crawler_url.py", line 3, in <module>
import cgi
ModuleNotFoundError: No module named 'cgi'
Traceback
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Scripts\dirhunt.exe\__main__.py", line 2, in <module>
from dirhunt.management import main
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\management.py", line 13, in <module>
from dirhunt.crawler import Crawler
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\crawler.py", line 14, in <module>
from dirhunt import processors
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\processors.py", line 15, in <module>
from dirhunt.crawler_url import CrawlerUrl
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\crawler_url.py", line 3, in <module>
import cgi
ModuleNotFoundError: No module named 'cgi'
Dirhunt version
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Scripts\dirhunt.exe\__main__.py", line 2, in <module>
from dirhunt.management import main
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\management.py", line 13, in <module>
from dirhunt.crawler import Crawler
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\crawler.py", line 14, in <module>
from dirhunt import processors
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\processors.py", line 15, in <module>
from dirhunt.crawler_url import CrawlerUrl
File "C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt\crawler_url.py", line 3, in <module>
import cgi
ModuleNotFoundError: No module named 'cgi'
(dirhunt v1.0.0, install path: C:\Users\cf86c\AppData\Local\Programs\Python\Python313\Lib\site-packages\dirhunt)
Operating system (including distribution name and version)
Windows 11 24H2
Other details
No response
Checklist
- The error is in the project's code, and not in my own.
- I have searched for this issue before posting it and there isn't an open duplicate.
- I ran
pip install -U dirhuntand triggered the bug in the latest version.
Metadata
Metadata
Assignees
Labels
No labels