Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boul2gom/yt-dlp
/ functions
Functions
2,260 in github.com/boul2gom/yt-dlp
⨍
Functions
2,260
◇
Types & classes
233
Method
new
Creates a new hook registry # Returns A new empty HookRegistry
src/events/delivery/hooks.rs:79
Method
new
Creates a new webhook configuration # Arguments `url` - The webhook URL # Returns A new WebhookConfig with default settings
src/events/delivery/webhooks.rs:53
Method
new
Create a new YouTube extractor. # Arguments `executable_path` - Path to the yt-dlp executable # Returns A new Youtube extractor instance
src/extractor/youtube.rs:112
Method
new
Create a new generic extractor with automatic detection. # Arguments `executable_path` - Path to the yt-dlp executable # Returns A new Generic ext
src/extractor/generic.rs:40
Method
new
(config: TrackerConfig)
src/stats/inner.rs:80
Method
new
Creates a tracker with default configuration and subscribes to `bus`. # Arguments `bus` - The event bus to subscribe to. # Returns A new [`Statist
src/stats/tracker.rs:59
Method
new
Create a new download manager with default configuration
src/download/manager.rs:96
Method
new
Creates a new segment context # Arguments `file` - Shared file handle for writing segments `total_bytes` - Total size of the file in bytes `progress
src/download/engine/segment.rs:68
Method
new
Creates a new fetcher targeting `url` with the given extra `headers`. # Arguments `client` - Shared reqwest HTTP client `url` - Target URL to fetch
src/download/engine/range_fetcher.rs:40
Method
new
(path: PathBuf)
src/download/engine/fetcher.rs:90
Method
new
Creates a new progress info # Arguments `downloaded` - Number of bytes downloaded `total` - Total number of bytes # Returns A new ProgressInfo ins
src/download/config/progress.rs:28
Method
new
Creates a new post-processing configuration # Returns An empty PostProcessConfig with all options set to None
src/download/config/postprocess.rs:373
Method
new
(data: Vec<u8>)
tests/common/media_seek.rs:13
Method
none
Creates a strategy with no retries # Returns A RetryStrategy that never retries
src/events/retry.rs:74
Function
ogg_full_vs_partial_byte_range
()
tests/integration/media-seek/seeking.rs:66
Method
only_completed
Creates a filter that only accepts completed downloads # Returns An EventFilter that only matches completed download events
src/events/filters.rs:65
Method
only_failed
Creates a filter that only accepts failed downloads # Returns An EventFilter that only matches failed download events
src/events/filters.rs:80
Method
only_live_recording
()
src/events/filters.rs:196
Method
only_live_streaming
()
src/events/filters.rs:220
Method
only_metadata
Creates a filter for metadata-related events
src/events/filters.rs:185
Method
only_playlist
Creates a filter for playlist-related events
src/events/filters.rs:174
Method
only_post_process
Creates a filter for post-processing events
src/events/filters.rs:190
Method
only_progress
Creates a filter that only accepts progress events # Returns An EventFilter that only matches progress events
src/events/filters.rs:95
Method
only_terminal
Creates a filter that only accepts terminal events (completed, failed, canceled) # Returns An EventFilter that only matches terminal events
src/events/filters.rs:52
Method
output_dir
Returns the output directory path. # Returns A reference to the output directory [`PathBuf`].
src/lib.rs:518
Function
output_directory_created
()
tests/integration/builder.rs:257
Method
parallel_segments
Get the number of parallel segments per download for this profile # Returns Number of parallel segments
src/download/config/speed_profile.rs:101
Function
parse
Parses a FLAC stream and returns a `ContainerIndex`. Reads the STREAMINFO block for the sample rate and total sample count, then the SEEKTABLE block
crates/media-seek/src/audio/flac.rs:104
Function
parse
Parses an AAC ADTS stream and returns a `ContainerIndex`. Scans up to [`SCAN_FRAMES`] frames from `probe` to derive the byte rate and extract the sam
crates/media-seek/src/audio/adts.rs:63
Function
parse
Parses an OGG stream and returns a `ContainerIndex`. Reads the identification page from `probe` to extract the codec sample rate, then binary-searche
crates/media-seek/src/audio/ogg.rs:56
Function
parse
Parses an MPEG-TS stream and returns a `ContainerIndex`. Reads the PAT and PMT from `probe` to identify the PCR PID, then performs a binary search ov
crates/media-seek/src/video/ts.rs:52
Function
parse
Parses an AVI stream and returns a `ContainerIndex`. Fetches the last `64 KB` of the stream to locate the `idx1` chunk, then builds a coarse keyframe
crates/media-seek/src/video/avi.rs:60
Function
parse_adts_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:192
Function
parse_adts_fixture_succeeds
()
tests/integration/media-seek/adts.rs:8
Function
parse_aiff_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:30
Function
parse_classic_mp4_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:125
Function
parse_co64
Parses the `co64` (64-bit Chunk Offset) box payload into chunk offsets.
crates/media-seek/src/video/mp4.rs:668
Function
parse_empty_file_fails
()
tests/integration/media-seek/errors.rs:6
Function
parse_flac_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:47
Function
parse_flv_fixture_is_detected
()
tests/integration/media-seek/parsers.rs:175
Function
parse_fmp4_with_sidx_succeeds
()
tests/integration/media-seek/parsers.rs:158
Function
parse_m4a_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:143
Function
parse_master_invalid_url_fails
()
tests/integration/live/recording.rs:170
Function
parse_master_playlist
()
tests/integration/live/recording.rs:16
Function
parse_master_wrong_content
()
tests/integration/live/recording.rs:184
Function
parse_media_invalid_url_fails
()
tests/integration/live/recording.rs:177
Function
parse_media_playlist
()
tests/integration/live/recording.rs:45
Function
parse_media_segments_have_correct_sequence
()
tests/integration/live/recording.rs:68
Function
parse_media_wrong_content
()
tests/integration/live/recording.rs:206
Function
parse_mp3_fixture_succeeds
()
tests/integration/media-seek/mp3.rs:6
Function
parse_mp3_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:62
Function
parse_mp3_free_format_detects_frame_size
()
tests/integration/media-seek/mp3.rs:202
Function
parse_mp3_free_format_too_short_returns_parse_failed
()
tests/integration/media-seek/mp3.rs:232
Function
parse_mp3_id3v1_detected_via_fetch_when_probe_shorter_than_file
()
tests/integration/media-seek/mp3.rs:260
Function
parse_mp3_id3v1_trailer_stripped_when_probe_covers_file
()
tests/integration/media-seek/mp3.rs:167
Function
parse_mp3_single_id3v2_tag_succeeds
()
tests/integration/media-seek/mp3.rs:50
Function
parse_mp3_stacked_id3v2_tags_succeeds
()
tests/integration/media-seek/mp3.rs:23
Function
parse_mp3_vbri_invalid_entry_bytes_falls_back_to_cbr
()
tests/integration/media-seek/mp3.rs:70
Function
parse_mp3_xing_fallback_uses_actual_total_size
()
tests/integration/media-seek/mp3.rs:118
Function
parse_mp4_ftyp_only_returns_index_not_found
()
tests/integration/media-seek/errors.rs:53
Function
parse_mp4_no_moov_no_sidx_returns_index_not_found
()
tests/integration/media-seek/errors.rs:65
Function
parse_mpeg_layer1_cbr_succeeds
()
tests/integration/media-seek/mp3.rs:324
Function
parse_mpeg_layer2_cbr_succeeds
()
tests/integration/media-seek/mp3.rs:303
Function
parse_ogg_opus_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:77
Function
parse_ogg_theora_codec_returns_named_parse_failed
()
tests/integration/media-seek/parsers.rs:228
Function
parse_ogg_vorbis_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:93
Function
parse_ogg_without_total_size_returns_parse_failed
()
tests/integration/media-seek/errors.rs:75
Function
parse_random_bytes_returns_unsupported
()
tests/integration/media-seek/errors.rs:15
Function
parse_stco
Parses the `stco` (Chunk Offset) box payload into 64-bit chunk offsets.
crates/media-seek/src/video/mp4.rs:651
Function
parse_stsc
Parses the `stsc` (Sample-to-Chunk) box payload.
crates/media-seek/src/video/mp4.rs:685
Function
parse_stss
Parses the `stss` (Sync Sample) box payload into a list of 1-based sample numbers.
crates/media-seek/src/video/mp4.rs:708
Function
parse_stts
Parses the `stts` (Time-to-Sample) box payload into a run-length entry list.
crates/media-seek/src/video/mp4.rs:629
Function
parse_truncated_adts_returns_parse_failed
()
tests/integration/media-seek/adts.rs:60
Function
parse_truncated_flac_returns_parse_failed
()
tests/integration/media-seek/errors.rs:33
Function
parse_truncated_mp3_returns_parse_failed
()
tests/integration/media-seek/errors.rs:41
Function
parse_truncated_wav_returns_parse_failed
()
tests/integration/media-seek/errors.rs:23
Function
parse_ts_fixture_is_detected
()
tests/integration/media-seek/parsers.rs:209
Function
parse_wav_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:8
Function
parse_webm_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:110
Function
partial_download_via_range
()
tests/e2e/download/partial.rs:13
Method
password
Returns the password if authentication is configured. # Returns The proxy password, or `None` if no authentication is set.
src/client/proxy.rs:150
Method
path_validation
Create a path validation error. # Arguments `path` - The path that failed validation `reason` - The reason for validation failure # Returns An Err
src/error.rs:529
Method
percentage
Returns the progress as a percentage (0.0 to 100.0).
src/model/types/playlist.rs:359
Method
percentage
Returns the progress as a percentage (0.0 to 1.0) # Returns Progress as a percentage from 0.0 to 1.0
src/download/config/progress.rs:37
Function
persists_across_reopen
()
tests/integration/cache/json.rs:43
Function
persists_across_reopen
()
tests/integration/cache/redb.rs:38
Method
pipeline
Chain multiple operations in a pipeline. This method allows you to chain fetch -> download -> metadata operations. # Examples ```rust,no_run # use
src/client/pipeline.rs:163
Function
player_client_copy
()
tests/unit/extractor/extractor.rs:218
Function
player_client_debug
()
tests/unit/extractor/extractor.rs:204
Function
player_client_eq
()
tests/unit/extractor/extractor.rs:212
Function
playlist_available_entries
()
tests/unit/model/types.rs:249
Function
playlist_cache_via_layer
()
tests/integration/cache/layer.rs:113
Function
playlist_clean_does_not_error
()
tests/integration/cache/json.rs:275
Function
playlist_clear_all_removes_all_entries
()
tests/integration/cache/json.rs:301
Function
playlist_deserialize
()
tests/unit/model/types.rs:128
Function
playlist_display
()
tests/unit/model/types.rs:180
Function
playlist_entries_have_metadata
()
tests/e2e/playlist.rs:19
Function
playlist_entry_count
()
tests/unit/model/types.rs:136
Function
playlist_entry_display
()
tests/unit/model/types.rs:224
Function
playlist_entry_duration_minutes
()
tests/unit/model/types.rs:215
← previous
next →
1,701–1,800 of 2,260, ranked by callers