Skip to main content

Crate rsynko_reqwest

Crate rsynko_reqwest 

Source
Expand description

§rsynko-reqwest

This crate executes fully described requests with Reqwest and publishes bytes with the filesystem. Youtube URL recognition, endpoint selection, headers, request bodies, response parsing, and format ranking belong to the root rsynko-yt specification.

The assembled executable also provides a deterministic fixture interpreter:

  • fixture://single-video denotes deterministic media with an exact byte payload;
  • resources are fetched with Rustls-backed HTTP;
  • final files are published by a same-directory .part file and atomic rename.

A running retrieval states what it is doing to whoever is watching: runtime_observation_channel states one channel of the specification’s DownloadObservationOp values, sent from the thread that retrieves and read by whoever holds the other end. Nothing is answered and nothing is waited for — a retrieval states what it does whether or not it is read, and reading it is the application’s own pass.

Downloading one audio-only or video-only adaptive stream requires no merger. Combining separate adaptive audio and video streams, signature deciphering, proof-of-origin tokens, and ffmpeg merging remain outside this interpretation.

X is read the same way. rsynko-x decides which addresses are tweets and what request reads one; this crate sends that request, parses the answer, and turns every image and video in the tweet into a format that can be chosen.

Structs§

RuntimeEnvironment
Interprets exact requests, fixture bytes, atomic files, and runtime observations.
RuntimeFetchStream
Carries an incrementally readable fixture or HTTP resource.
RuntimePause
Controls cooperative suspension of one streaming download.
SignatureProgram
Denotes the decipher program one player script states.
YoutubeSolutions
Denotes the challenges one player program resolved, and the values it resolved them to.

Enums§

RuntimeExtractionError
Denotes extraction failure in the assembled runtime.
RuntimeFetchError
Denotes resource retrieval failure in the Reqwest interpreter.
RuntimeXError
Denotes failure to read what one tweet carries.
SignatureProgramError
Denotes failure to recover the decipher program from a player script.
SignatureStep
Denotes one primitive transformation of the signature characters.

Constants§

ANDROID_CLIENT
Names the handheld client, which states one muxed representation served without throttling.
FIXTURE_BYTES
Denotes the exact media bytes of fixture://single-video.
VISIONOS_CLIENT
Names the headset client, which states every adaptive representation.
X_KIND
Names the observation stating which kind of file one format was taken from.

Functions§

kind_of
Names the value one observation states, when it states text.
runtime_observation_channel
Constructs one observation channel without consuming its receiving end.

Type Aliases§

RuntimeObservation
Carries one pure download observation.
RuntimeObservationReceiver
Receives what one running download states, for whoever attends to it.
RuntimeObservationSender
Sends download observations from the thread that retrieves.