mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-29 20:45:11 +00:00
Compare commits
2
Commits
4bf84d6af1
...
ff93cb6ba1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff93cb6ba1 | ||
|
|
69b6106d98 |
@@ -2923,7 +2923,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--no-proxy-download</code></td>
|
||||
<td>Bypass the proxy for <strong>segment downloads only</strong> (manifest, licence, and auth stay proxied).</td>
|
||||
<td>Bypass the proxy for <strong>all downloads</strong> (manifest, licence, and auth stay proxied).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--remote</code></td>
|
||||
@@ -2956,6 +2956,11 @@
|
||||
<td>Number of tracks downloaded concurrently.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--speed-limit</code></td>
|
||||
<td>unlimited</td>
|
||||
<td>Cap total download speed across all threads and tracks, e.g. <code>500k</code>, <code>5M</code>, <code>1.5G</code> or plain bytes/sec. Values are bytes, not bits (<code>5M</code> = 5.0 MB/s). <code>off</code> disables a configured limit.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--no-cache</code></td>
|
||||
<td>off</td>
|
||||
<td>Bypass the title cache.</td>
|
||||
|
||||
@@ -3117,7 +3117,7 @@ configured proxy providers), or a <code>provider:region</code> form.</p>
|
||||
<p>Two related flags:</p>
|
||||
<ul>
|
||||
<li><code>--no-proxy</code>: force-disable all proxy use for this run.</li>
|
||||
<li><code>--no-proxy-download</code>: bypass the proxy for <strong>segment downloads only</strong>. The manifest,
|
||||
<li><code>--no-proxy-download</code>: bypass the proxy for <strong>all downloads</strong>. The manifest,
|
||||
license, and authentication requests still go through the proxy. This is useful when the
|
||||
proxy is only needed to satisfy geo-checks, not to move the bulk of the data.</li>
|
||||
</ul>
|
||||
|
||||
@@ -2185,7 +2185,7 @@ file lives and how it is loaded.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--no-proxy-download</code></td>
|
||||
<td>Use the proxy for the manifest, licence, and authentication, but bypass it for the <strong>segment downloads</strong> themselves.</td>
|
||||
<td>Use the proxy for the manifest, licence, and authentication, but bypass it for the <strong>downloads</strong> themselves.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -2205,7 +2205,7 @@ do not have to pass it on every command. See
|
||||
<p>Segment downloads are usually the largest share of traffic, and a residential-grade VPN
|
||||
proxy is often the slowest link in the chain. <code>--no-proxy-download</code> lets you keep the
|
||||
proxy where it matters (passing the geo-check for the manifest and the licence) while
|
||||
pulling the actual audio and video segments over your normal connection for full speed.</p>
|
||||
pulling the files themselves over your normal connection at full speed.</p>
|
||||
<div class="language-shell highlight"><span class="filename">Proxy the manifest and licence, download segments direct</span><pre><span></span><code><span id="__span-3-1"><a id="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a>unshackle<span class="w"> </span>dl<span class="w"> </span>--proxy<span class="w"> </span>gb<span class="w"> </span>--no-proxy-download<span class="w"> </span>EXAMPLE<span class="w"> </span>10a1234
|
||||
</span></code></pre></div>
|
||||
<div class="admonition warning">
|
||||
|
||||
BIN
Binary file not shown.
@@ -1583,6 +1583,17 @@
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#unshackle.core.tracks.Attachment.download" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
<code class="doc-symbol doc-symbol-toc doc-symbol-method"></code> download
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -2605,6 +2616,17 @@
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#unshackle.core.tracks.Attachment.download" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
<code class="doc-symbol doc-symbol-toc doc-symbol-method"></code> download
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -3574,7 +3596,7 @@
|
||||
|
||||
<p>Create a new Attachment.</p>
|
||||
<p>If providing a path, the file must already exist.
|
||||
If providing a URL, the file will be downloaded to the temp directory.
|
||||
If providing a URL, download() fetches the file during the download phase.
|
||||
Either path or url must be provided.</p>
|
||||
<p>If name is not provided it will use the file name (without extension).
|
||||
If mime_type is not provided, it will try to guess it.</p>
|
||||
@@ -3676,7 +3698,7 @@ If mime_type is not provided, it will try to guess it.</p>
|
||||
<code>session</code>
|
||||
</td>
|
||||
<td>
|
||||
<code><span title="typing.Optional">Optional</span>[<span title="requests.Session">Session</span>]</code>
|
||||
<code><span title="typing.Optional">Optional</span>[<span title="unshackle.core.tracks.attachment.AnySession">AnySession</span>]</code>
|
||||
</td>
|
||||
<td>
|
||||
<div class="doc-md-description">
|
||||
@@ -3735,6 +3757,26 @@ If mime_type is not provided, it will try to guess it.</p>
|
||||
|
||||
|
||||
|
||||
<div class="doc doc-object doc-function">
|
||||
|
||||
|
||||
<h3 id="unshackle.core.tracks.Attachment.download" class="doc doc-heading">
|
||||
<code class="doc-symbol doc-symbol-heading doc-symbol-method"></code> <span class="doc doc-object-name doc-function-name">download</span>
|
||||
|
||||
|
||||
<a href="#unshackle.core.tracks.Attachment.download" class="headerlink" title="Permanent link">¶</a></h3>
|
||||
<div class="language-python doc-signature highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nf">download</span><span class="p">(</span><span class="n">session</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="o">*</span><span class="p">,</span> <span class="n">no_proxy_download</span><span class="o">=</span><span class="kc">False</span><span class="p">)</span>
|
||||
</span></code></pre></div>
|
||||
|
||||
<div class="doc doc-contents ">
|
||||
|
||||
<p>Download a URL-backed attachment to the temp directory.</p>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="doc doc-object doc-function">
|
||||
|
||||
|
||||
@@ -3861,7 +3903,7 @@ If mime_type is not provided, it will try to guess it.</p>
|
||||
<code>session</code>
|
||||
</td>
|
||||
<td>
|
||||
<code><span title="typing.Optional">Optional</span>[<span title="requests.Session">Session</span>]</code>
|
||||
<code><span title="typing.Optional">Optional</span>[<span title="unshackle.core.tracks.attachment.AnySession">AnySession</span>]</code>
|
||||
</td>
|
||||
<td>
|
||||
<div class="doc-md-description">
|
||||
|
||||
@@ -3059,6 +3059,12 @@ is the <a href="../../dev/rest-api/">REST API</a> section; these are the config
|
||||
<td>gzip level for responses.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>global_speed_limit</code></td>
|
||||
<td>str</td>
|
||||
<td><em>(unlimited)</em></td>
|
||||
<td>Server-wide download speed cap, e.g. <code>10M</code>, <code>1.5G</code> or plain bytes/sec (same format as <code>speed_limit</code>). One shared budget across all concurrent jobs; per-job speed limits are ignored while it is set.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>cdm_overrides</code></td>
|
||||
<td>dict</td>
|
||||
<td><em>(unset)</em></td>
|
||||
@@ -3253,6 +3259,12 @@ default. In other words, config only fills in options you did not set on the com
|
||||
<td>Threads per track.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>speed_limit</code></td>
|
||||
<td>str</td>
|
||||
<td><em>(unlimited)</em></td>
|
||||
<td>Total download speed cap across all downloads combined, e.g. <code>500k</code>, <code>5M</code>, <code>1.5G</code> or plain bytes/sec. Values are bytes, not bits (<code>5M</code> = 5.0 MB/s).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>slow</code></td>
|
||||
<td>str</td>
|
||||
<td><em>(unset)</em></td>
|
||||
|
||||
File diff suppressed because one or more lines are too long
+27
-27
@@ -2,110 +2,110 @@
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/creating-a-service/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/service-architecture/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/authentication/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/endpoints/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/errors/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/job-lifecycle/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/quickstart/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/dev/rest-api/remote-sessions/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/getting-started/configuration-file/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/getting-started/installation/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/getting-started/quickstart/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/cli-reference/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/downloading/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/drm-and-cdm/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/output-and-naming/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/proxies-and-vpn/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/subtitles/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/troubleshooting/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/guide/vaults/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/configuration/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/api/config/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/api/drm/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/api/service/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/api/titles/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.unshackle.dev/reference/api/tracks/</loc>
|
||||
<lastmod>2026-07-30</lastmod>
|
||||
<lastmod>2026-07-31</lastmod>
|
||||
</url>
|
||||
</urlset>
|
||||
Binary file not shown.
Reference in New Issue
Block a user