@boy-offi9-inc/tidepull 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/core/hls.js +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -183,14 +183,14 @@ From a clone, `node src/cli.ts <args>` runs the TypeScript source directly (Node
|
|
|
183
183
|
- No site-specific extractors are built in. Platforms such as YouTube hide their media behind scripts and tokens and need a plugin
|
|
184
184
|
- No DRM: protected streams (Widevine, PlayReady, FairPlay, encrypted DASH) are not supported and will not be
|
|
185
185
|
- No circumvention: it cannot get past logins, paywalls or geo-blocks. With `--cookies` it only fetches what your own session can already see
|
|
186
|
-
-
|
|
186
|
+
- SAMPLE-AES is refused with a clear error (sample-level encryption; full-segment AES-128 is supported), playlists from video sites (they need a plugin), a proxy option
|
|
187
187
|
- Cookies are read-only: `Set-Cookie` responses are not stored
|
|
188
188
|
|
|
189
189
|
### Details
|
|
190
190
|
| Area | Behavior |
|
|
191
191
|
|---|---|
|
|
192
192
|
| Direct files | resumable (`.part` + `Range`), retries with backoff |
|
|
193
|
-
| HLS VOD | master + media playlists, parallel segments written in order, AES-128 (explicit/default IV), fMP4 init maps, `EXT-X-BYTERANGE` segments and ranged init maps, separate audio renditions, `SUBTITLES` renditions with `--write-subs` (WebVTT segments joined into one `.vtt` per language; fMP4/WVTT segment playlists are converted to `.vtt` with absolute timestamps), time-range clipping with `--from SEC` / `--to SEC` (whole segments, partial overlaps included; DASH and live playlists are not clippable) |
|
|
193
|
+
| HLS VOD | master + media playlists, parallel segments written in order, AES-128 (explicit/default IV; SAMPLE-AES is refused), fMP4 init maps, `EXT-X-BYTERANGE` segments and ranged init maps, separate audio renditions, `SUBTITLES` renditions with `--write-subs` (WebVTT segments joined into one `.vtt` per language; fMP4/WVTT segment playlists are converted to `.vtt` with absolute timestamps), time-range clipping with `--from SEC` / `--to SEC` (whole segments, partial overlaps included; DASH and live playlists are not clippable) |
|
|
194
194
|
| HLS live (`--live`) | playlist refresh + append by media sequence, stops on `EXT-X-ENDLIST` / `--max-duration SEC` / `--max-segments N` / Ctrl-C (Ctrl-C keeps what was captured); AES-128 + fMP4 init maps supported mid-stream |
|
|
195
195
|
| DASH VOD (`.mpd`), opt-in via `@boy-offi9-inc/tidepull/dash` (built into the CLI) | `SegmentTemplate` (`$Number%05d$`, `$Time$`, timelines, durations), `SegmentList`, single-file `SegmentBase`, nested `BaseURL`; multiple `Period`s merged by representation (fragments concatenated in order, init from the first period); encrypted (`ContentProtection`) representations are skipped, never decrypted |
|
|
196
196
|
| Generic page extractor | `og:video`, `<video>/<source>`, bare media URLs in HTML/JSON |
|
package/dist/core/hls.js
CHANGED
|
@@ -95,6 +95,9 @@ export function parseMedia(text, base) {
|
|
|
95
95
|
else if (a.METHOD === "AES-128" && a.URI) {
|
|
96
96
|
key = { method: "AES-128", uri: new URL(a.URI, base).href, iv: a.IV ? parseIv(a.IV) : undefined };
|
|
97
97
|
}
|
|
98
|
+
else if (a.METHOD === "SAMPLE-AES") {
|
|
99
|
+
throw new TidepullError("SAMPLE-AES is not supported (sample-level encryption needs per-sample IV/packet parsing; only full-segment AES-128 works)");
|
|
100
|
+
}
|
|
98
101
|
else
|
|
99
102
|
throw new TidepullError(`Unsupported HLS encryption: ${a.METHOD}`);
|
|
100
103
|
}
|
package/package.json
CHANGED