MCPcopy Create free account

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

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

Methodset_cookies_from_browser
Extract cookies from a browser for authentication. Pushes `--cookies-from-browser=<browser>` to both extractors and the raw yt-dlp arg list. # Argum
src/lib.rs:733
Functionset_executable
()
tests/integration/fs_io.rs:171
Methodset_netrc
Use .netrc for authentication. Pushes `--netrc` to both extractors and the raw yt-dlp arg list. # Returns A mutable reference to `self` for method
src/lib.rs:749
Functionshort_video_fixture_is_short
()
tests/unit/model/video.rs:156
Functionshould_refresh_url
Determine if a URL should be refreshed based on the error. # Arguments `error` - The error that occurred during download/access # Returns Returns
src/utils/network/url_expiry.rs:146
Functionshould_refresh_url_from_http_error
Determine if an HTTP error should trigger URL refresh. # Arguments `error` - The reqwest error that occurred # Returns Returns `true` if the URL s
src/utils/network/url_expiry.rs:161
Methodshould_retry
Returns true if retries should continue # Arguments `attempt` - The attempt number (0-indexed) # Returns true if more retries are allowed, false o
src/events/retry.rs:121
Methodshutdown
Shuts down the worker task gracefully. # Returns Nothing. After calling this, no new tasks will be processed.
src/download/manager.rs:753
Functionshutdown_and_check
()
tests/integration/builder.rs:311
Functionshutdown_idempotent
()
tests/e2e/events/cancellation.rs:26
Functionshutdown_sets_cancellation_flag
()
tests/e2e/events/cancellation.rs:12
Functionsimulate_playlist_via_manager
()
tests/e2e/playlist.rs:107
Functionsingle_audio_format_is_both_best_and_worst
()
tests/unit/selection.rs:816
Methodsingle_chapter
Creates a single chapter for partial download. # Arguments `index` - Chapter index (0-based) # Returns A PartialRange instance representing a sing
src/download/engine/partial.rs:116
Functionsingle_chapter_get_times_returns_none
()
tests/unit/download/partial.rs:118
Functionsingle_chapter_needs_chapter_metadata
()
tests/unit/download/partial.rs:98
Functionsingle_chapter_returns_self
()
tests/unit/download/partial.rs:76
Functionsingle_chapter_to_ytdlp_arg_formats_correctly
()
tests/unit/download/partial.rs:142
Functionsingle_video_format_is_both_best_and_worst
()
tests/unit/selection.rs:807
Functionsnapshot_after_download_events
()
tests/integration/statistics.rs:11
Functionsnapshot_tracks_failures
()
tests/integration/statistics.rs:49
Functionsnapshot_tracks_fetches
()
tests/integration/statistics.rs:83
Methodspeed_profile
Returns the speed profile configured for this download manager.
src/download/manager.rs:91
Functionspeed_profile_aggressive_values
()
tests/unit/download/config.rs:30
Functionspeed_profile_balanced_values
()
tests/unit/download/config.rs:21
Functionspeed_profile_conservative_values
()
tests/unit/download/config.rs:12
Functionspeed_profile_default_is_balanced
()
tests/unit/download/config.rs:39
Functionspeed_profile_display
()
tests/unit/download/config.rs:44
Functionspeed_profile_max_parallel_large_files
()
tests/unit/download/config.rs:79
Functionspeed_profile_optimal_segments_large_file
()
tests/unit/download/config.rs:70
Functionspeed_profile_optimal_segments_medium_file
()
tests/unit/download/config.rs:60
Functionspeed_profile_optimal_segments_small_file
()
tests/unit/download/config.rs:51
Functionspeed_profile_playlist_concurrent
()
tests/unit/download/config.rs:86
Methodsplit_by_chapters
Downloads a video and splits it into one file per chapter using FFmpeg stream copy. Downloads the full video first, then extracts each chapter with `
src/client/streams/pipeline/combine.rs:68
Functionstatus_transitions
()
tests/integration/download/manager.rs:80
Methodstop
Sends `q` to stdin to trigger a graceful FFmpeg quit, then waits for exit. # Errors Returns an error if writing to stdin or waiting fails.
src/executor/mod.rs:270
Functionstoryboard_formats_empty_when_none
()
tests/unit/selection.rs:662
Functionstoryboard_formats_returns_sorted
()
tests/unit/selection.rs:619
Methodstoryboard_quality
Sets the desired storyboard quality. # Arguments `quality` - The desired storyboard quality level # Returns The modified `DownloadBuilder` instanc
src/client/download_builder.rs:189
Functionstoryboard_quality_display
()
tests/unit/model/selector.rs:138
Methodstream
Creates a stream of progress updates # Returns A BroadcastStream that receives progress updates
src/download/config/progress.rs:106
Methodstream_live
(&'a self, video: &'a Video)
src/lib.rs:376
Functionstream_live_fragments_yields_segments
()
tests/integration/live/streaming.rs:11
Functionstream_receives_events
()
tests/integration/events/bus.rs:64
Functionsubscriber_count_tracks_drops
()
tests/integration/events/bus.rs:43
Functionsubtitle_display
()
tests/unit/model/types.rs:564
Functionsubtitle_file_extension
()
tests/unit/model/types.rs:552
Functionsubtitle_from_automatic_caption
()
tests/unit/model/types.rs:526
Functionsubtitle_get_wrong_language_returns_none
()
tests/integration/cache/json.rs:543
Functionsubtitle_is_format
()
tests/unit/model/types.rs:539
Functionsubtitle_put_and_get_by_language
()
tests/integration/cache/json.rs:508
Functionsubtitle_serde_round_trip
()
tests/unit/model/types.rs:512
Functionsubtitle_wrong_language_returns_none
()
tests/integration/cache/files.rs:241
Methodsupports_url
Check if URL is supported by YouTube extractor.
src/extractor/youtube.rs:353
Methodsupports_url
(&self, _url: &str)
src/extractor/generic.rs:188
Methodsupports_url
(&self, url: &str)
tests/common/test_extractor.rs:69
Functionsupports_url_case_insensitive
()
tests/unit/extractor/extractor.rs:122
Functionsupports_url_channel
()
tests/unit/extractor/extractor.rs:97
Functionsupports_url_http
()
tests/unit/extractor/extractor.rs:117
Functionsupports_url_mobile
()
tests/unit/extractor/extractor.rs:72
Functionsupports_url_music
()
tests/unit/extractor/extractor.rs:77
Functionsupports_url_nocookie
()
tests/unit/extractor/extractor.rs:65
Functionsupports_url_playlist
()
tests/unit/extractor/extractor.rs:92
Functionsupports_url_rejects_notyoutube
()
tests/unit/extractor/extractor.rs:112
Functionsupports_url_rejects_tiktok
()
tests/unit/extractor/extractor.rs:107
Functionsupports_url_rejects_vimeo
()
tests/unit/extractor/extractor.rs:102
Functionsupports_url_short_link
()
tests/unit/extractor/extractor.rs:60
Functionsupports_url_standard_watch
()
tests/unit/extractor/extractor.rs:55
Functionsupports_url_ytplaylist
()
tests/unit/extractor/extractor.rs:87
Functionsupports_url_ytsearch
()
tests/unit/extractor/extractor.rs:82
Functiontemp_file_guard_deletes_file_on_drop
()
tests/unit/utils/fs_utils.rs:209
Functiontemp_file_guard_disarmed_preserves_file
()
tests/unit/utils/fs_utils.rs:220
Functiontest_extractor_debug_format
()
tests/unit/extractor/test_extractor.rs:33
Functiontest_extractor_fetch_playlist_returns_fixture
()
tests/unit/extractor/test_extractor.rs:52
Functiontest_extractor_fetch_video_returns_fixture
()
tests/unit/extractor/test_extractor.rs:41
Functiontest_extractor_generic_name
()
tests/unit/extractor/test_extractor.rs:12
Functiontest_extractor_generic_supports_all_urls
()
tests/unit/extractor/test_extractor.rs:26
Functiontest_extractor_supports_youtube_urls
()
tests/unit/extractor/test_extractor.rs:18
Functiontest_extractor_with_mock_server_rewrites_urls
()
tests/unit/extractor/test_extractor.rs:62
Functiontest_extractor_youtube_name
()
tests/unit/extractor/test_extractor.rs:6
Functionthumbnail_display
()
tests/unit/model/types.rs:384
Functionthumbnail_display_no_resolution
()
tests/unit/model/types.rs:399
Functionthumbnail_get_miss_returns_none
()
tests/integration/cache/json.rs:493
Functionthumbnail_hash
()
tests/unit/model/types.rs:413
Functionthumbnail_miss_returns_none
()
tests/integration/cache/files.rs:186
Functionthumbnail_put_and_get_by_video_id
()
tests/integration/cache/json.rs:470
Methodthumbnail_quality
Sets the desired thumbnail quality. # Arguments `quality` - The desired thumbnail quality level # Returns The modified `DownloadBuilder` instance.
src/client/download_builder.rs:203
Functionthumbnail_quality_display
()
tests/unit/model/selector.rs:146
Functionthumbnail_serde_round_trip
()
tests/unit/model/types.rs:369
Methodtime_range
Creates a time range for partial download. # Arguments `start` - Start time in seconds (must be non-negative) `end` - End time in seconds (must be g
src/download/engine/partial.rs:67
Functiontime_range_get_times_returns_pair
()
tests/unit/download/partial.rs:107
Functiontime_range_needs_no_chapter_metadata
()
tests/unit/download/partial.rs:86
Functiontime_range_negative_start_returns_err
()
tests/unit/download/partial.rs:36
Functiontime_range_start_equals_end_returns_err
()
tests/unit/download/partial.rs:41
Functiontime_range_start_greater_than_end_returns_err
()
tests/unit/download/partial.rs:46
Functiontime_range_to_ytdlp_arg_formats_correctly
()
tests/unit/download/partial.rs:127
Functiontime_range_valid_returns_ok
()
tests/unit/download/partial.rs:29
Methodtimeout
Returns the execution timeout. # Returns The current [`Duration`] timeout.
src/lib.rs:545
Methodtimeout
(&self)
src/extractor/generic.rs:151
Methodtitle_or
Gets the chapter title or a default value. # Arguments `default` - The default value to return if the chapter has no title # Returns The chapter t
src/model/types/chapter.rs:69
← previousnext →2,001–2,100 of 2,260, ranked by callers