tregu0458 commited on
Commit
cdd5157
·
verified ·
1 Parent(s): 8e1d1f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"