MCPcopy Create free account

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

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

Methodredis
(operation: impl Into<String>, source: redis::RedisError)
src/error.rs:455
Functionreel_fixture_deserializes
()
tests/unit/model/video.rs:145
Methodregister
Registers a new webhook # Arguments `config` - The webhook configuration
src/events/delivery/webhooks.rs:342
Functionregister_and_execute_hook
()
tests/integration/events/hooks.rs:13
Methodregister_webhook
Registers a webhook for download events. Webhooks are called via HTTP POST with a JSON payload containing the event. # Arguments `config` - The web
src/client/pipeline.rs:553
Methodremove
Removes a video from the cache (both layers). # Arguments `url` - The URL of the video to remove. # Errors Returns an error if the backend remove
src/cache/stores/video.rs:316
Methodremove
(&self, url: &str)
src/cache/backend/mod.rs:459
Methodremove
(&self, url: &str)
src/cache/backend/json.rs:215
Methodremove
(&self, url: &str)
src/cache/backend/redis.rs:123
Methodremove
(&self, url: &str)
src/cache/backend/redb/video.rs:135
Functionremove_clears_entry
()
tests/integration/cache/files.rs:276
Functionremove_temp_file_nonexistent
()
tests/integration/fs_io.rs:127
Functionrepeated_manager_download_with_cache
()
tests/e2e/cache/pipeline.rs:38
Functionreset_clears_counters
()
tests/integration/statistics.rs:157
Functionresolution_dimensions
()
tests/unit/download/config.rs:267
Functionresolution_display
()
tests/unit/download/config.rs:285
Functionresolution_ffmpeg_scale
()
tests/unit/download/config.rs:280
Methodresolve
Resolves the backend to use. # Arguments `kind` - An explicit selection, or `None` to auto-detect. # Errors Returns `Error::AmbiguousCacheBackend`
src/cache/config.rs:60
Methodresolved_thumbnail_quality
Returns the configured thumbnail quality preference, if any.
src/client/download_builder.rs:247
Functionretry_execute_all_fail_returns_last_error
()
tests/unit/utils/network_retry.rs:78
Functionretry_execute_succeeds_after_initial_failure
()
tests/unit/utils/network_retry.rs:123
Functionretry_execute_succeeds_on_first_attempt
()
tests/unit/utils/network_retry.rs:62
Functionretry_execute_with_condition_stops_on_non_retryable
()
tests/unit/utils/network_retry.rs:99
Functionretry_strategy_delay_capped_at_max
()
tests/unit/events.rs:605
Functionretry_strategy_delay_for_attempt_0_is_initial
()
tests/unit/events.rs:591
Functionretry_strategy_delay_for_attempt_1_doubles
()
tests/unit/events.rs:598
Functionretry_strategy_delay_for_attempt_at_limit_is_zero
()
tests/unit/events.rs:613
Functionretry_strategy_linear_delay_is_constant
()
tests/unit/events.rs:651
Functionretry_strategy_none_never_retries
()
tests/unit/events.rs:636
Functionretry_strategy_should_not_retry_at_limit
()
tests/unit/events.rs:629
Functionretry_strategy_should_retry_within_limit
()
tests/unit/events.rs:621
Methodruntime
Create a runtime error with context. # Arguments `context` - Description of the task that failed `source` - The underlying tokio JoinError # Return
src/error.rs:480
Functionsanitize_filename_clean
()
tests/unit/utils/validation.rs:79
Functionsanitize_filename_empty_becomes_download
()
tests/unit/utils/validation.rs:105
Functionsanitize_filename_long_name
()
tests/unit/utils/validation.rs:156
Functionsanitize_filename_only_special_becomes_download
()
tests/unit/utils/validation.rs:110
Functionsanitize_filename_preserves_unicode
()
tests/unit/utils/validation.rs:144
Functionsanitize_filename_removes_colons
()
tests/unit/utils/validation.rs:89
Functionsanitize_filename_removes_control_chars
()
tests/unit/utils/validation.rs:124
Functionsanitize_filename_removes_double_dots
()
tests/unit/utils/validation.rs:99
Functionsanitize_filename_removes_null_bytes
()
tests/unit/utils/validation.rs:117
Functionsanitize_filename_removes_quotes
()
tests/unit/utils/validation.rs:150
Functionsanitize_filename_removes_slashes
()
tests/unit/utils/validation.rs:84
Functionsanitize_filename_removes_special_chars
()
tests/unit/utils/validation.rs:94
Functionsanitize_filename_removes_tab_and_newline
()
tests/unit/utils/validation.rs:130
Functionsanitize_filename_whitespace_only_becomes_download
()
tests/unit/utils/validation.rs:139
Functionsanitize_path_absolute
()
tests/unit/utils/validation.rs:60
Functionsanitize_path_current_dir_stripped
()
tests/unit/utils/validation.rs:70
Functionsanitize_path_deeply_nested_valid
()
tests/unit/utils/validation.rs:197
Functionsanitize_path_dotdot_in_component
()
tests/unit/utils/validation.rs:65
Functionsanitize_path_empty_after_filter
()
tests/unit/utils/validation.rs:187
Functionsanitize_path_multiple_traversals
()
tests/unit/utils/validation.rs:192
Functionsanitize_path_nested
()
tests/unit/utils/validation.rs:49
Functionsanitize_path_simple
()
tests/unit/utils/validation.rs:43
Functionsanitize_path_traversal
()
tests/unit/utils/validation.rs:55
Methodsearch
Search YouTube videos. # Arguments `query` - The search query `max_results` - Maximum number of results to return # Returns Playlist containing se
src/extractor/youtube.rs:317
Functionsearch_chapter_list_by_title_finds_match
()
tests/unit/model/types.rs:697
Functionsearch_chapter_list_by_title_returns_empty_on_no_match
()
tests/unit/model/types.rs:706
Methodsearch_first
Search and return first result. # Arguments `query` - The search query # Returns First video matching the search # Errors Returns error if no re
src/extractor/youtube.rs:337
Functionsegment_entry_clone
()
tests/unit/media-seek/index.rs:88
Functionsegment_entry_debug
()
tests/unit/media-seek/index.rs:75
Methodsegment_size
Get the segment size in bytes for this profile # Returns Segment size in bytes
src/download/config/speed_profile.rs:88
Methodselect_asset
Select the correct asset from the release for the given platform and architecture. # Arguments `release` - The GitHub release to select from `platfo
src/client/deps/ytdlp.rs:80
Functionselect_audio_format_best
()
tests/unit/selection.rs:485
Functionselect_audio_format_codec_fallback
()
tests/unit/selection.rs:593
Functionselect_audio_format_codec_filter_aac
()
tests/unit/selection.rs:580
Functionselect_audio_format_codec_filter_opus
()
tests/unit/selection.rs:567
Functionselect_audio_format_custom_bitrate
()
tests/unit/selection.rs:554
Functionselect_audio_format_empty
()
tests/unit/selection.rs:607
Functionselect_audio_format_high_targets_192kbps
()
tests/unit/selection.rs:512
Functionselect_audio_format_low_targets_96kbps
()
tests/unit/selection.rs:540
Functionselect_audio_format_medium_targets_128kbps
()
tests/unit/selection.rs:526
Functionselect_audio_format_worst
()
tests/unit/selection.rs:499
Functionselect_best_variant_from_parsed
()
tests/integration/live/recording.rs:83
Functionselect_storyboard_best
()
tests/unit/selection.rs:670
Functionselect_storyboard_worst
()
tests/unit/selection.rs:691
Functionselect_thumbnail_best
()
tests/unit/selection.rs:714
Functionselect_thumbnail_empty
()
tests/unit/selection.rs:799
Functionselect_thumbnail_minimum_resolution
()
tests/unit/selection.rs:764
Functionselect_thumbnail_worst
()
tests/unit/selection.rs:739
Functionselect_variant_best_no_target
()
tests/unit/live/hls_parsing.rs:104
Functionselect_variant_empty_list
()
tests/unit/live/hls_parsing.rs:98
Functionselect_variant_exact_match
()
tests/unit/live/hls_parsing.rs:179
Functionselect_variant_single
()
tests/unit/live/hls_parsing.rs:199
Functionselect_variant_target_below_all
()
tests/unit/live/hls_parsing.rs:158
Functionselect_variant_with_bandwidth_limit
()
tests/integration/live/recording.rs:96
Functionselect_variant_with_target_bandwidth
()
tests/unit/live/hls_parsing.rs:131
Functionselect_video_format_best
()
tests/unit/selection.rs:362
Functionselect_video_format_codec_fallback
()
tests/unit/selection.rs:459
Functionselect_video_format_codec_filter_vp9
()
tests/unit/selection.rs:445
Functionselect_video_format_custom_height
()
tests/unit/selection.rs:431
Functionselect_video_format_empty
()
tests/unit/selection.rs:473
Functionselect_video_format_fallback_when_no_exact_height
()
tests/unit/selection.rs:839
Functionselect_video_format_high_targets_1080p
()
tests/unit/selection.rs:389
Functionselect_video_format_low_targets_480p
()
tests/unit/selection.rs:417
Functionselect_video_format_medium_targets_720p
()
tests/unit/selection.rs:403
Functionselect_video_format_worst
()
tests/unit/selection.rs:376
Methodsend_webhook
Sends a single webhook request # Arguments `client` - HTTP client `config` - Webhook configuration `payload` - Webhook payload to send # Returns O
src/events/delivery/webhooks.rs:472
Functionserialize_json
Serializes a value to a JSON string, returning an empty string on failure. # Arguments `value` - The value to serialize # Returns The JSON string
src/model/utils/serde.rs:27
Methodset_cookies
Use a Netscape cookie file for authentication. Pushes `--cookies=<path>` to both extractors and the raw yt-dlp arg list, so that metadata fetches and
src/lib.rs:716
← previousnext →1,901–2,000 of 2,260, ranked by callers