Pixiv:修订间差异

添加1,706字节 、​ 2023年9月23日 (星期六)
无编辑摘要
无编辑摘要
无编辑摘要
标签由可视化切换到源代码编辑
第59行: 第59行:


 例如:<nowiki>https://pixiv.re/78286152-2.png</nowiki>
 例如:<nowiki>https://pixiv.re/78286152-2.png</nowiki>
===自建图片代理===
*使用[https://dash.cloudflare.com/ Cloudflare Workers](大陆可访问)
{{hide|CFW配置|
<pre>
addEventListener("fetch", event => {
  let url = new URL(event.request.url);
  url.hostname = "i.pximg.net";
  if (url.pathname === '/') {
   // 如果访问的是根目录,防止被扒取,设置Content-Type为404 Not Found
   const responseText = '<p style="font-famil;">404 Not Found</p>';
   event.respondWith(new Response(responseText, {
    status: 200,
    headers: {
     'Content-Type': 'text/html;charset=UTF-8'
    }
   }));
  } else {
   // 如果不是根目录,将请求发送给i.pximg.net
   let request = new Request(url, event.request);
   event.respondWith(
    fetch(request, {
     headers: {
      'Referer': 'https://www.pixiv.net/',
      'User-Agent': 'Cloudflare Workers'
     }
    })
   );
  }
});
</pre>
}}
*使用Nginx(不推荐)
{{hide|nginx.htaccess|
<pre>
proxy_cache_path /path/to/cache levels=1:2 keys_zone=pximg:10m max_size=10g inactive=7d use_temp_path=off;
server {
   listen 443 ssl http2;
   ssl_certificate /path/to/ssl_certificate.crt;
   ssl_certificate_key /path/to/ssl_certificate.key;
   server_name i.pixiv.cat;
   access_log off;
   location / {
   proxy_cache pximg;
   proxy_pass https://i.pximg.net;
   proxy_cache_revalidate on;
   proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504;
   proxy_cache_lock on;
   add_header X-Cache-Status $upstream_cache_status;
   proxy_set_header Host i.pximg.net;
   proxy_set_header Referer "https://www.pixiv.net/";
   proxy_cache_valid 200 7d;
   proxy_cache_valid 404 5m;
}
}
</pre>
}}


===第三方APP===
===第三方APP===
第140行: 第204行:
|色气
|色气
|-
|-
|{{lj|舐め回したい穴}}
| {{lj|舐め回したい穴}}
|想舔的小穴
|想舔的小穴
|-
|-
第150行: 第214行:
|成人的色气
|成人的色气
|-
|-
|{{lj|溢れ出る色気}}
| {{lj|溢れ出る色気}}
| rowspan="2" |溢出的色气
| rowspan="2" |溢出的色气
|-
|-
27

个编辑