robots.txt
- 在
publuc目录下 - 通过
<IP>/robots.txt访问# Block all crawlers for /防止爬虫爬取的地方# Allow all crawlers允许爬虫爬取的地方
# Block all crawlers for /accounts
# Allow all crawlers
User-agent: *
Allow: /
publuc目录下<IP>/robots.txt访问
# Block all crawlers for / 防止爬虫爬取的地方
# Allow all crawlers 允许爬虫爬取的地方# Block all crawlers for /accounts
# Allow all crawlers
User-agent: *
Allow: /