MCPcopy Create free account

hub / github.com/boul2gom/yt-dlp / functions

Functions2,260 in github.com/boul2gom/yt-dlp

Functionassert_has_chapters
Assert a video has chapters.
tests/common/assertions.rs:34
Functionassert_has_heatmap
Assert a video has a heatmap.
tests/common/assertions.rs:39
Functionassert_has_video_format
Assert a video has at least one video format.
tests/common/assertions.rs:26
Functionassert_video_valid
Assert a Video has essential fields populated.
tests/common/assertions.rs:64
Methodaudio_codec
Sets the preferred audio codec. # Arguments `codec` - The preferred audio codec # Returns The modified `DownloadBuilder` instance.
src/client/download_builder.rs:175
Functionaudio_codec_default_is_copy
()
tests/unit/download/config.rs:260
Functionaudio_codec_ffmpeg_name
()
tests/unit/download/config.rs:251
Functionaudio_quality_display
()
tests/unit/model/selector.rs:29
Functionautomatic_caption_display
()
tests/unit/model/types.rs:458
Functionautomatic_caption_display_no_lang
()
tests/unit/model/types.rs:470
Functionautomatic_caption_serde_round_trip
()
tests/unit/model/types.rs:446
Methodavg
(&self)
examples/profiling.rs:78
Functionawait_all
Awaits all futures and returns a vector of their results. If any future returns an error, the error is propagated. # Arguments `handles` - The futur
src/utils/mod.rs:97
Functionawait_two
Awaits two futures and returns a tuple of their results. If either future returns an error, the error is propagated. # Arguments `first` - The first
src/utils/mod.rs:67
Functionbackpressure_does_not_panic
()
tests/integration/events/bus.rs:104
Functionbest_audio_format_empty
()
tests/unit/selection.rs:308
Functionbest_audio_format_no_audio
()
tests/unit/selection.rs:314
Functionbest_audio_format_prefers_higher_language_preference_over_bitrate
()
tests/unit/selection.rs:854
Functionbest_audio_format_selects_highest_quality
()
tests/unit/selection.rs:263
Functionbest_audio_format_tiebreak_by_abr
()
tests/unit/selection.rs:275
Functionbest_audio_format_tiebreak_by_channels
()
tests/unit/selection.rs:297
Functionbest_audio_format_tiebreak_by_sample_rate
()
tests/unit/selection.rs:286
Methodbest_storyboard_format
Returns the best storyboard format (most fragments, then highest resolution). Storyboard formats are grids of video preview images embedded in MHTML
src/model/video.rs:331
Functionbest_video_format_empty_formats
()
tests/unit/selection.rs:235
Functionbest_video_format_no_video_formats
()
tests/unit/selection.rs:241
Functionbest_video_format_prefers_higher_language_preference_over_resolution
()
tests/unit/selection.rs:869
Functionbest_video_format_selects_highest_quality
()
tests/unit/selection.rs:190
Functionbest_video_format_tiebreak_by_fps
()
tests/unit/selection.rs:213
Functionbest_video_format_tiebreak_by_height
()
tests/unit/selection.rs:202
Functionbest_video_format_tiebreak_by_vbr
()
tests/unit/selection.rs:224
Methodbrowser_defaults
Creates default browser-like headers for the given user agent. # Arguments `user_agent` - The user agent string to use. # Returns An `HttpHeaders`
src/model/format.rs:383
Methodbuild_base_args
(&self)
src/extractor/generic.rs:155
Functionbuild_base_args_default
()
tests/unit/extractor/extractor.rs:253
Functionbuild_base_args_includes_custom_args
()
tests/unit/extractor/extractor.rs:379
Functionbuild_base_args_with_format_preset_audio_only
()
tests/unit/extractor/extractor.rs:333
Functionbuild_base_args_with_format_preset_best
()
tests/unit/extractor/extractor.rs:324
Functionbuild_base_args_with_format_preset_custom
()
tests/unit/extractor/extractor.rs:352
Functionbuild_base_args_with_format_preset_legacy_compatible
()
tests/unit/extractor/extractor.rs:370
Functionbuild_base_args_with_format_preset_medium
()
tests/unit/extractor/extractor.rs:342
Functionbuild_base_args_with_format_preset_modern_codecs
()
tests/unit/extractor/extractor.rs:361
Functionbuild_base_args_with_player_client_and_skip_dash
()
tests/unit/extractor/extractor.rs:310
Functionbuild_base_args_with_player_client_android
()
tests/unit/extractor/extractor.rs:264
Functionbuild_base_args_with_player_client_ios
()
tests/unit/extractor/extractor.rs:274
Functionbuild_base_args_with_player_client_tv_embedded
()
tests/unit/extractor/extractor.rs:292
Functionbuild_base_args_with_player_client_web
()
tests/unit/extractor/extractor.rs:283
Functionbuild_base_args_with_skip_dash
()
tests/unit/extractor/extractor.rs:301
Functionbuild_cache_config_with_all_fields_sets_correctly
()
tests/unit/cache/config.rs:18
Functionbuild_cache_config_with_minimal_args_succeeds
()
tests/unit/cache/config.rs:8
Functionbuild_exponential_retry_strategy_sets_fields
()
tests/unit/events.rs:558
Functionbuild_http_client_default_config_succeeds
()
tests/integration/utils/http.rs:10
Functionbuild_http_client_with_custom_timeout
()
tests/integration/utils/http.rs:16
Functionbuild_http_client_with_http2_adaptive_window
()
tests/integration/utils/http.rs:36
Functionbuild_http_client_with_user_agent
()
tests/integration/utils/http.rs:26
Functionbuild_invalid_chapter_validation_sets_errors
()
tests/unit/model/types.rs:919
Functionbuild_invalid_validation_result_sets_errors
()
tests/unit/utils/subtitle.rs:58
Functionbuild_linear_retry_strategy_sets_constant_delay
()
tests/unit/events.rs:567
Functionbuild_none_retry_strategy_sets_zero_attempts
()
tests/unit/events.rs:576
Functionbuild_retry_policy_with_custom_values_succeeds
()
tests/unit/utils/network_retry.rs:18
Methodbuild_shared_client
Builds the base HTTP client from the manager config.
src/download/manager.rs:152
Functionbuild_valid_chapter_validation_has_empty_errors
()
tests/unit/model/types.rs:910
Functionbuild_valid_validation_result_succeeds
()
tests/unit/utils/subtitle.rs:48
Functionbuild_with_add_arg
()
tests/integration/builder.rs:51
Functionbuild_with_args
()
tests/integration/builder.rs:34
Functionbuild_with_cache
()
tests/integration/builder.rs:216
Functionbuild_with_cookies
()
tests/integration/builder.rs:101
Functionbuild_with_cookies_from_browser
()
tests/integration/builder.rs:121
Functionbuild_with_defaults
()
tests/integration/builder.rs:17
Functionbuild_with_max_concurrent_downloads
()
tests/integration/builder.rs:175
Functionbuild_with_netrc
()
tests/integration/builder.rs:140
Functionbuild_with_proxy
()
tests/integration/builder.rs:192
Functionbuild_with_speed_profile
()
tests/integration/builder.rs:159
Functionbuild_with_timeout
()
tests/integration/builder.rs:67
Functionbuild_with_user_agent
()
tests/integration/builder.rs:85
Methodbuilder
Creates a new builder for constructing a Downloader instance with a fluent API. This is the recommended way to create a Downloader instance as it pro
src/lib.rs:228
Functionbuilder_chain
()
tests/integration/download/fetcher.rs:150
Functionbyte_range_copy
()
tests/unit/media-seek/byte_range.rs:18
Functionbyte_range_debug
()
tests/unit/media-seek/byte_range.rs:26
Functionbyte_range_equality
()
tests/unit/media-seek/byte_range.rs:4
Functionbyte_range_inequality
()
tests/unit/media-seek/byte_range.rs:11
Methodcache
(&self)
src/lib.rs:564
Methodcache_expired
Create a cache expired error. # Arguments `key` - The cache key that expired # Returns An Error::CacheExpired variant
src/error.rs:773
Functioncache_layer_activates_after_setup
()
tests/e2e/cache/pipeline.rs:13
Functioncache_layer_from_config
()
tests/integration/cache/layer.rs:12
Methodcache_miss
Create a cache miss error. # Arguments `key` - The cache key that was not found # Returns An Error::CacheMiss variant
src/error.rs:758
Methodcalculate_file_hash
Calculate the SHA-256 hash of a file. # Arguments `path` - The path to the file to hash. # Returns A hex-encoded SHA-256 hash string. # Errors R
src/cache/stores/files.rs:521
Functioncalculate_file_hash_deterministic
()
tests/integration/cache/files.rs:8
Functioncalculate_file_hash_different_contents
()
tests/integration/cache/files.rs:21
Functioncancel_download
()
tests/integration/download/manager.rs:137
Functioncancel_download
()
tests/e2e/download/manager.rs:150
Functioncancel_download_does_not_hang
()
tests/e2e/error_paths.rs:170
Functioncancel_emits_event
()
tests/e2e/events/cancellation.rs:78
Functioncancel_inflight_download
()
tests/e2e/events/cancellation.rs:40
Functioncancel_live_recording
()
tests/e2e/live/recording.rs:49
Functioncancel_queued_download
()
tests/e2e/events/cancellation.rs:135
Functioncaption_extension_as_str
()
tests/unit/model/types.rs:481
Functioncaption_extension_default
()
tests/unit/model/types.rs:499
Functioncaption_extension_display
()
tests/unit/model/types.rs:493
Functioncaption_extension_serde_unknown
()
tests/unit/model/types.rs:504
Functionchapter_contains_timestamp
()
tests/integration/metadata.rs:42
Functionchapter_contains_timestamp
()
tests/unit/model/types.rs:25
← previousnext →801–900 of 2,260, ranked by callers