Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def run_katana(url, crawl_type):
|
|
| 10 |
else: # Subkeyword URLs
|
| 11 |
command = [
|
| 12 |
"katana",
|
| 13 |
-
"-u", url,
|
| 14 |
"-cs", f"^{url}.*",
|
| 15 |
"-depth", "5",
|
| 16 |
"-jc"
|
|
|
|
| 10 |
else: # Subkeyword URLs
|
| 11 |
command = [
|
| 12 |
"katana",
|
| 13 |
+
"-u", f"{url}",
|
| 14 |
"-cs", f"^{url}.*",
|
| 15 |
"-depth", "5",
|
| 16 |
"-jc"
|