Public-flip audit: scrub audit-ticket prefixes + LAN refs + tighten README
URLs → git.sulkta.com. Audit-ticket prefixes (SPEC §N, audit Track X, vc=N audit-fix, FIX (audit ...), PORT DEVIATION) stripped from comments — technical reasoning retained. Crafting-table LAN refs softened to 'Sulkta build host'. README sheds marketing scaffolding + stale status tables.
This commit is contained in:
parent
75bc7dc6bf
commit
c8dfc8a34a
24 changed files with 82 additions and 108 deletions
|
|
@ -1,9 +1,9 @@
|
|||
// YoutubeStreamExtractor — orchestrator. Mirrors NPE
|
||||
// services/youtube/extractors/YoutubeStreamExtractor.java:onFetchPage().
|
||||
//
|
||||
// Order (per audit Track C §1.2):
|
||||
// 1. Optional Android po_token from PoTokenProvider (Phase 5 wires this;
|
||||
// until then we always go anonymous → reel endpoint).
|
||||
// Order:
|
||||
// 1. Optional Android po_token from PoTokenProvider (until a provider
|
||||
// is registered we always go anonymous → reel endpoint).
|
||||
// 2. Android `/player` (if po_token) or `/reel/reel_item_watch` (anon).
|
||||
// checkPlayabilityStatus → typed ContentUnavailable variants.
|
||||
// isPlayerResponseNotValid → reject the "you're a bot" decoy.
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
// Exceptions swallowed → falls back to Android-response thumbnails.
|
||||
// 5. WEB `/next` — description + related + chapters. Mandatory.
|
||||
//
|
||||
// Per-format URL post-processing (audit Track C §4.1):
|
||||
// Per-format URL post-processing:
|
||||
// * If format has `url` → use as-is (Android + iOS path).
|
||||
// * Else parse `signatureCipher` → deobfuscate `s` → assemble
|
||||
// `url&sp=<decoded>` (WEB path; not exercised in the current
|
||||
|
|
@ -699,9 +699,8 @@ fn codec_from_mime(fmt: &Value) -> Option<String> {
|
|||
Some(after[..end].to_string())
|
||||
}
|
||||
|
||||
/// FIX (NPE deviation flagged in SPEC §5): dedup by itag id + delivery
|
||||
/// method, NOT by `mediaFormat.id` — NPE's dedup collides itag 140 and
|
||||
/// 141 because both are M4A.
|
||||
/// Dedup by itag id + delivery method, NOT by `mediaFormat.id` — NPE's
|
||||
/// dedup collides itag 140 and 141 because both are M4A.
|
||||
fn push_audio_dedup(list: &mut Vec<AudioStream>, candidate: AudioStream) {
|
||||
if list
|
||||
.iter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue