# As a condition of accessing this website, you agree to abide by the following # content signals: # (a) If a Content-Signal = yes, you may collect content for the corresponding # use. # (b) If a Content-Signal = no, you may not collect content for the # corresponding use. # (c) If the website operator does not include a Content-Signal for a # corresponding use, the website operator neither grants nor restricts # permission via Content-Signal with respect to the corresponding use. # The content signals and their meanings are: # search: building a search index and providing search results (e.g., returning # hyperlinks and short excerpts from your website's contents). Search does not # include providing AI-generated search summaries. # ai-input: inputting content into one or more AI models (e.g., retrieval # augmented generation, grounding, or other real-time taking of content for # generative AI search answers). # ai-train: training or fine-tuning AI models. # use: how AI systems may consume the content (immediate, reference, or full). # ANY RESTRICTIONS EXPRESSED VIA CONTENT SIGNALS ARE EXPRESS RESERVATIONS OF # RIGHTS UNDER ARTICLE 4 OF THE EUROPEAN UNION DIRECTIVE 2019/790 ON COPYRIGHT # AND RELATED RIGHTS IN THE DIGITAL SINGLE MARKET. # BEGIN Cloudflare Managed content User-agent: * Content-Signal: search=yes,ai-train=no,use=reference Allow: / # Training crawlers User-agent: Amazonbot Disallow: / User-agent: Applebot-Extended Disallow: / User-agent: Bytespider Disallow: / User-agent: CCBot Disallow: / User-agent: ClaudeBot Disallow: / User-agent: Diffbot Disallow: / User-agent: Google-Extended Disallow: / User-agent: GPTBot Disallow: / User-agent: omgili Disallow: / User-agent: anthropic-ai Disallow: / User-agent: Claude-Web Disallow: / User-agent: cohere-ai Disallow: / User-agent: MistralAI-Training Disallow: / User-agent: meta-externalagent Disallow: / User-agent: GoogleOther Disallow: / User-agent: Baiduspider Disallow: / User-agent: PetalBot Disallow: / User-agent: AwarioSmartBot User-agent: AwarioRssBot Disallow: / User-agent: Google-CloudVertexBot Disallow: / User-agent: QualifiedBot Disallow: / User-agent: Cotoyogi Disallow: / User-agent: ICC-Crawler Disallow: / User-agent: atlassian-bot Disallow: / User-agent: FishBot Disallow: / User-agent: BorderxBot Disallow: / User-agent: NavuBot Disallow: / User-agent: SemrushBot-SWA Disallow: / User-agent: WARDBot Disallow: / User-agent: magpie-crawler Disallow: / User-agent: KimiBot Disallow: / User-agent: CitibotSiteCrawler Disallow: / # END Cloudflare Managed Content # --------------------------------------------------------- # robots.txt for SFW.PICS - AI Anti-Scraping Shield # --------------------------------------------------------- # 1. 允许主流搜索引擎抓取(SEO 优化版) User-agent: Googlebot User-agent: Bingbot User-agent: Slurp User-agent: DuckDuckBot Allow: / # 允许爬虫抓取渲染页面所必须的 API 资源 Allow: /api/images/ Allow: /api/comments Allow: /api/palettes Allow: /api/views Allow: /api/tags # 允许抓取 Next.js 运行必需的静态脚本 Allow: /_next/static/ Allow: /_next/data/ # 💡 核心封禁:保护后台、授权逻辑和隔离相册 Disallow: /admin/ Disallow: /*/admin/ Disallow: /api/auth/ Disallow: /api/admin/ Disallow: /api/upload/ Disallow: /api/generate/ Disallow: /api/images/delete Disallow: /api/search/vector # 封禁除了上面 Allow 之外的所有 API (保底逻辑) Disallow: /api/ # 禁止索引 Next.js 内部构建路径(不含 Allow 部分) Disallow: /_next/ Disallow: /static/ Disallow: /reports/ Disallow: /scripts/ # 禁止抓取搜索结果页,防止权重分散 Disallow: /*/gallery?q=* # 💡 终极隔离:禁止抓取敏感相册列表 Disallow: /*?album=cmm6a50jk00tfp5szv2p7tvy0 Disallow: /*&album=cmm6a50jk00tfp5szv2p7tvy0 # --------------------------------------------------------- # 2. 封杀所有 AI 训练爬虫(保护内容不被 AI 采集) # --------------------------------------------------------- User-agent: Baiduspider User-agent: YandexBot User-agent: GPTBot User-agent: ChatGPT-User User-agent: Google-Extended User-agent: anthropic-ai User-agent: Claude-Web User-agent: CCBot User-agent: FacebookBot User-agent: MetaExternalFetcher User-agent: Bytespider User-agent: Amazonbot User-agent: PerplexityBot User-agent: Omgilibot User-agent: Omgili User-agent: Diffbot User-agent: ImagesiftBot User-agent: cohere-ai Disallow: / # --------------------------------------------------------- # 3. 禁止不声明身份的自动化脚本(Scrapers) # --------------------------------------------------------- User-agent: Scrapy User-agent: python-requests User-agent: pycurl User-agent: libwww-perl Disallow: / # 指定站点地图 Sitemap: https://sfw.pics/sitemap.xml