瀏覽代碼

[sitemap] respect the robots.txt policies

Change-Id: I219eff6241479c3c883c55079b48a88591a2a99d
tags/0.32.0
Christian Berendt 4 年之前
父節點
當前提交
8f05ac1b0a
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      sitemap/generator/settings.py

+ 1
- 0
sitemap/generator/settings.py 查看文件

@@ -31,5 +31,6 @@ DOWNLOAD_WARNSIZE = 67108864
LOG_LEVEL = 'INFO'
LOGGING_ENABLED = True
RANDOMIZE_DOWNLOAD_DELAY = False
ROBOTSTXT_OBEY = True
TELNETCONSOLE_ENABLED = False
linkextractors.IGNORED_EXTENSIONS.remove('pdf')

Loading…
取消
儲存