1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-23 16:43:11 +02:00

Deploying to gh-pages from @ RSS-Bridge/rss-bridge@7c89712837 🚀

This commit is contained in:
dvikan
2024-02-03 12:57:26 +00:00
parent e946a264eb
commit 9eb0bd8f3a
42 changed files with 86 additions and 55 deletions

View File

@@ -100,7 +100,7 @@
<div class="Page__header">
<h1><a href="../Bridge_Specific/ActivityPub_(Mastodon).html">Bridge Specific</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../Bridge_Specific/PixivBridge.html">PixivBridge</a></h1>
<span class="ModifiedDate">
November 3, 2023 at 9:42 AM </span>
February 3, 2024 at 4:57 AM </span>
<span class="EditOn">
<a href="https://github.com/RSS-Bridge/rss-bridge/tree/master/docs/10_Bridge_Specific/PixivBridge.md" target="_blank">
Edit on GitHub </a>
@@ -110,16 +110,20 @@
<div class="s-content">
<h1><a id="pixivbridge" href="#pixivbridge" class="Permalink" aria-hidden="true" title="Permalink">#</a>PixivBridge</h1>
<h1><a id="image-proxy" href="#image-proxy" class="Permalink" aria-hidden="true" title="Permalink">#</a>Image proxy</h1>
<p>As Pixiv requires images to be loaded with the <code>Referer &quot;https://www.pixiv.net/&quot;</code> header set, caching or image proxy is required to use this bridge.</p>
<p>To turn off image caching, set the <code>proxy_url</code> value in this bridges configuration section of <code>config.ini.php</code> to the url of the proxy. The bridge will then use the proxy in this format (essentially replacing <code>https://i.pximg.net</code> with the proxy):</p>
<p>As Pixiv requires images to be loaded with the <code>Referer &quot;https://www.pixiv.net/&quot;</code> header set,
caching or image proxy is required to use this bridge.</p>
<p>To turn off image caching, set the <code>proxy_url</code> value in this bridges configuration section of <code>config.ini.php</code>
to the url of the proxy.</p>
<p>The bridge will then use the proxy in this format (essentially replacing <code>https://i.pximg.net</code> with the proxy):</p>
<p>Before: <code>https://i.pximg.net/img-original/img/0000/00/00/00/00/00/12345678_p0.png</code></p>
<p>After: <code>https://proxy.example.com/img-original/img/0000/00/00/00/00/00/12345678_p0.png</code></p>
<pre><code>proxy_url = &quot;https://proxy.example.com&quot;
</code></pre>
<h1><a id="authentication" href="#authentication" class="Permalink" aria-hidden="true" title="Permalink">#</a>Authentication</h1>
<p>Authentication is required to view and search R-18+ and non-public images. To enable this, set the following in this bridges configuration in <code>config.ini.php</code>.</p>
<pre><code>; from cookie &quot;PHPSESSID&quot;. Recommend to get in incognito browser.
cookie = &quot;00000000_hashedsessionidhere&quot;
<p>Authentication is required to view and search R-18+ and non-public images.
To enable this, set the following in this bridges configuration in <code>config.ini.php</code>.</p>
<pre><code class="hljs ini"><span class="hljs-comment">; from cookie "PHPSESSID". Recommend to get in incognito browser. </span>
<span class="hljs-attr">cookie</span> = <span class="hljs-string">"00000000_hashedsessionidhere"</span>
</code></pre>
</div>