Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def pegasus_web_crawler(input_url, output_dir, exclude_selectors, include_domain
|
|
22 |
# パスのスラッシュを '_' に置換
|
23 |
replaced_path = re.sub(r'/', '_', input_url[matched.end():])
|
24 |
# 置換後のドメインとパスを結合
|
25 |
-
replaced_url = replaced_domain + replaced_path
|
26 |
else:
|
27 |
replaced_url = "combined_output"
|
28 |
combined_output_filename = replaced_url + ".txt"
|
|
|
22 |
# パスのスラッシュを '_' に置換
|
23 |
replaced_path = re.sub(r'/', '_', input_url[matched.end():])
|
24 |
# 置換後のドメインとパスを結合
|
25 |
+
replaced_url = "combined_" + replaced_domain + replaced_path
|
26 |
else:
|
27 |
replaced_url = "combined_output"
|
28 |
combined_output_filename = replaced_url + ".txt"
|