Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Desiders/ytdl_tg_bot
/ functions
Functions
727 in github.com/Desiders/ytdl_tg_bot
⨍
Functions
727
◇
Types & classes
375
↓ 2 callers
Method
chat_config_reader
(&self)
bot/src/database/tx_manager.rs:52
↓ 2 callers
Function
classify_retryable_error
(stderr: &str)
downloader/src/services/ytdl.rs:102
↓ 2 callers
Method
cookie_count
(&self, worker_id: &str)
cookie_assignment/src/service.rs:352
↓ 2 callers
Function
create_gallery_dl_command
(gallery_dl_cfg: &GalleryDlConfig)
downloader/src/services/gallery_dl.rs:363
↓ 2 callers
Function
default_extractor_args
()
downloader/src/config.rs:53
↓ 2 callers
Method
domain_count
(&self, worker_id: &str)
cookie_assignment/src/service.rs:356
↓ 2 callers
Function
done_key
(job_id: Uuid)
bot/src/services/queue.rs:206
↓ 2 callers
Method
download
(&self, file_id: &str)
bot/src/services/file_download.rs:42
↓ 2 callers
Function
download_and_convert
(url: &str, output_file_path: &Path, executable_path: &str, timeout: u64)
downloader/src/services/ffmpeg.rs:86
↓ 2 callers
Method
execute
(self, input: DownloadInput<'_>)
bot/src/interactors/video.rs:93
↓ 2 callers
Method
execute
(self, input: ShazamInput<'_>)
bot/src/interactors/shazam.rs:79
↓ 2 callers
Method
fetch_status
Fetches the node active-download and capacity counters. # Errors Returns an error if auth metadata cannot be built or the RPC fails.
downloader_client/src/handle.rs:104
↓ 2 callers
Method
fetch_supported_domains
Fetches domains for which the node currently has assigned cookies. # Errors Returns an error if auth metadata cannot be built or the RPC fails.
downloader_client/src/handle.rs:93
↓ 2 callers
Method
from
(raw: &str)
bot/src/locale.rs:40
↓ 2 callers
Function
get_host_from_text
(text: &str)
bot/src/filters/text_url.rs:22
↓ 2 callers
Method
get_path_by_optional_host
(&self, host: Option<&Host<&str>>)
downloader/src/entities/cookies.rs:76
↓ 2 callers
Method
get_random
( &self, limit: u64, media_type: MediaType, domains: &[String], )
bot/src/database/readers/downloaded_media.rs:79
↓ 2 callers
Method
get_stats
(&self)
bot/src/database/readers/chat.rs:26
↓ 2 callers
Method
insert_or_update
( &self, Chat { tg_id, username, kind, created
bot/src/database/repos/chat.rs:23
↓ 2 callers
Function
is_errors_in_chosen_inline
( messenger: &(impl MessengerPort + ?Sized), inline_message_id: &str, format_errs: &[String],
bot/src/handlers_utils/progress.rs:236
↓ 2 callers
Method
mark_unavailable
(&self)
downloader_client/src/handle.rs:84
↓ 2 callers
Method
normalize
(&mut self)
downloader/src/entities/range.rs:28
↓ 2 callers
Function
normalize_domain
(domain: &str)
downloader/src/entities/cookies.rs:98
↓ 2 callers
Function
parse_entry
(entry_id: String, map: &std::collections::HashMap<String, Value>)
bot/src/services/queue.rs:210
↓ 2 callers
Function
parse_format_strategy
(media_type: &str, audio_ext: &str)
downloader/src/grpc/downloader.rs:1122
↓ 2 callers
Function
parse_url
(raw: &str)
downloader/src/grpc/downloader.rs:1133
↓ 2 callers
Function
probe_audio
( get_audio: &get_media::GetAudioByURL, url: &Url, range: &Range, sections: Option<&Sections>,
bot/src/interactors/auto.rs:475
↓ 2 callers
Function
probe_video
(file_path: &Path, executable_path: &str, timeout: u64)
downloader/src/services/ffmpeg.rs:44
↓ 2 callers
Function
probe_video
( get_video: &get_media::GetVideoByURL, url: &Url, range: &Range, sections: Option<&Sections>,
bot/src/interactors/auto.rs:448
↓ 2 callers
Method
refresh_capabilities
(&self)
downloader_client/src/router.rs:97
↓ 2 callers
Method
refresh_nodes
(&self)
downloader_client/src/router.rs:119
↓ 2 callers
Method
refresh_status
(&self)
downloader_client/src/router.rs:71
↓ 2 callers
Function
reject_active_livestreams
(playlist: &Playlist)
downloader/src/grpc/downloader.rs:959
↓ 2 callers
Method
remove_cookie
(&self, cookie_id: &str)
downloader/src/entities/cookies.rs:57
↓ 2 callers
Method
reply
(&self, chat_id: i64, reply_to_message_id: i64, text: &str)
bot/src/interactors/shazam.rs:241
↓ 2 callers
Method
resolve
Resolves `raw_url` to a DRM-free downloadable source via `spotdl url`.
downloader/src/services/spotdl.rs:53
↓ 2 callers
Function
resolve_max_file_size
(request_max_file_size: u64, node_max_file_size: u64)
downloader/src/grpc/downloader.rs:1137
↓ 2 callers
Method
resolve_nodes
Resolves the headless downloader service DNS into active node socket addresses. # Errors Returns an I/O error if DNS resolution fails.
downloader_client/src/client.rs:46
↓ 2 callers
Function
send_media_group
( bot: &Bot, chat_id: &ChatIdKind, media_group: Vec<InputMedia>, reply_to_message_id: Option<i
bot/src/services/messenger/telegram.rs:672
↓ 2 callers
Function
send_status
(tx: &UnboundedSender<Result<DownloadChunk, Status>>, status: Status)
downloader/src/grpc/downloader.rs:1288
↓ 2 callers
Function
shorten_response_body
(body: &str)
bot/src/services/yt_toolkit.rs:9
↓ 2 callers
Function
synthesize_direct
Builds a `direct_fetch`-marked entry from a snapsave CDN URL so the download path fetches it with ffmpeg (remux for video, audio extract for m4a) inst
downloader/src/grpc/downloader.rs:969
↓ 2 callers
Method
update_remote_status
(&self, active_downloads: u32, max_concurrent: u32)
downloader_client/src/handle.rs:73
↓ 2 callers
Method
username
(&self)
bot/src/services/messenger/telegram.rs:58
↓ 2 callers
Method
xadd
(&self, key: &str, job: &DownloadJob)
bot/src/services/queue.rs:78
↓ 1 callers
Method
answer_inline_error
(&self, request: AnswerInlineErrorRequest<'_>)
bot/src/services/messenger/telegram.rs:110
↓ 1 callers
Method
assign_free_cookies
( &mut self, cookies: &[CookieRecord], available_workers: &HashMap<String, AssignmentN
cookie_assignment/src/service.rs:154
↓ 1 callers
Method
authority
(&self)
downloader_client/src/client.rs:37
↓ 1 callers
Function
build_downloaded_media
( session: DownloadSession, output_dir: &Path, base_format: &MediaFormat, progress_sender: Opt
bot/src/services/download/media.rs:681
↓ 1 callers
Method
build_handle
Builds a cookie-assignment RPC handle for one downloader node address. # Errors Returns a transport error if the gRPC channel cannot be built.
downloader_client/src/cookie_assignment.rs:34
↓ 1 callers
Method
build_worker_assignments
(&self, cookie_domains: &HashMap<&'a str, &'a str>)
cookie_assignment/src/service.rs:288
↓ 1 callers
Method
cfg
(&self)
bot/src/services/queue.rs:201
↓ 1 callers
Function
cfg_registry
(cfg: Config)
bot/src/di_container.rs:34
↓ 1 callers
Method
chat_reader
(&self)
bot/src/database/tx_manager.rs:48
↓ 1 callers
Method
chat_repo
(&self)
bot/src/database/tx_manager.rs:73
↓ 1 callers
Method
classify
( &self, url: &Url, range: &Range, sections: Option<&Sections>, audio_
bot/src/interactors/auto.rs:577
↓ 1 callers
Method
clear_on_startup
(&self)
downloader/src/entities/cookies.rs:29
↓ 1 callers
Function
clear_reaction
Removes the acknowledgment reaction the middleware set on the user's message. The middleware sets it on receipt; the worker clears it here once the jo
bot/src/worker.rs:279
↓ 1 callers
Function
cookie_file_name
(domain: &str)
downloader/src/entities/cookies.rs:102
↓ 1 callers
Function
database_registry
(cfg_registry: Registry)
bot/src/di_container.rs:88
↓ 1 callers
Method
dead_letter
Moves a job to the dead-letter stream and acks the original.
bot/src/services/queue.rs:151
↓ 1 callers
Function
decode_cookie_entry_name
(encoded_cookie_name: &str)
cookie_assignment/src/cookies.rs:49
↓ 1 callers
Function
default_job_timeout
()
bot/src/config.rs:30
↓ 1 callers
Function
default_max_audio_size
()
downloader/src/config.rs:146
↓ 1 callers
Function
default_queue_block_ms
()
bot/src/config.rs:238
↓ 1 callers
Function
default_queue_claim_min_idle_ms
()
bot/src/config.rs:242
↓ 1 callers
Function
default_queue_dead_letter_key
()
bot/src/config.rs:230
↓ 1 callers
Function
default_queue_dedup_ttl_secs
()
bot/src/config.rs:246
↓ 1 callers
Function
default_queue_group
()
bot/src/config.rs:226
↓ 1 callers
Function
default_queue_max_attempts
()
bot/src/config.rs:234
↓ 1 callers
Function
default_queue_stream_key
()
bot/src/config.rs:222
↓ 1 callers
Function
default_queue_workers
()
bot/src/config.rs:218
↓ 1 callers
Method
delete_exclude_domain
( &self, ChatConfigExcludeDomain { tg_id, domain }: ChatConfigExcludeDomain, )
bot/src/database/repos/chat_config.rs:108
↓ 1 callers
Method
delete_message
(&self, request: DeleteMessageRequest)
bot/src/services/messenger/telegram.rs:105
↓ 1 callers
Method
download_media
(&self, request: Request<DownloadRequest>)
downloader/src/grpc/downloader.rs:230
↓ 1 callers
Method
download_song
Best-effort: searches YouTube for the recognized track and enqueues a normal audio download so the song is sent (with the usual download progress). Si
bot/src/interactors/shazam.rs:170
↓ 1 callers
Method
downloaded_media_repo
(&self)
bot/src/database/tx_manager.rs:81
↓ 1 callers
Method
edit_audio_by_id
(&self, request: EditMediaByIdRequest<'_>)
bot/src/services/messenger/telegram.rs:391
↓ 1 callers
Method
edit_photo_by_id
(&self, request: EditMediaByIdRequest<'_>)
bot/src/services/messenger/telegram.rs:412
↓ 1 callers
Method
edit_video_by_id
(&self, request: EditMediaByIdRequest<'_>)
bot/src/services/messenger/telegram.rs:369
↓ 1 callers
Function
embed
(media_path: &Path, thumbnail: Vec<u8>)
downloader/src/services/thumbnail.rs:37
↓ 1 callers
Function
embed_thumbnail
(media_path: &Path, thumbnail_path: &Path)
downloader/src/services/thumbnail.rs:26
↓ 1 callers
Method
ensure_group
Creates the consumer group (and the stream) if it does not exist yet. Idempotent.
bot/src/services/queue.rs:56
↓ 1 callers
Function
execute_audio
(interactor: &DownloadAudio<Messenger>, input: DownloadInput<'_>)
bot/src/interactors/chosen_inline.rs:472
↓ 1 callers
Function
execute_photo
(interactor: &DownloadPhoto<Messenger>, input: DownloadInput<'_>)
bot/src/interactors/chosen_inline.rs:758
↓ 1 callers
Function
execute_video
(interactor: &DownloadVideo<Messenger>, input: DownloadInput<'_>)
bot/src/interactors/chosen_inline.rs:186
↓ 1 callers
Function
extract_audio
(url: &str, output_file_path: &Path, executable_path: &str, timeout: u64)
downloader/src/services/ffmpeg.rs:112
↓ 1 callers
Method
extract_author
(&self)
downloader/src/entities/gallery_dl.rs:76
↓ 1 callers
Method
extract_dimensions
(&self)
downloader/src/entities/gallery_dl.rs:87
↓ 1 callers
Method
extract_display_id
(&self)
downloader/src/entities/gallery_dl.rs:145
↓ 1 callers
Method
extract_extension
(&self)
downloader/src/entities/gallery_dl.rs:149
↓ 1 callers
Method
extract_filesize
(&self)
downloader/src/entities/gallery_dl.rs:157
↓ 1 callers
Method
extract_id
(&self)
downloader/src/entities/gallery_dl.rs:71
↓ 1 callers
Function
extract_logged_error
Extracts a gallery-dl `[category][error] <message>` line from stderr, returning the message. gallery-dl logs extraction failures this way even when it
downloader/src/services/gallery_dl.rs:233
↓ 1 callers
Method
extract_title
(&self)
downloader/src/entities/gallery_dl.rs:153
↓ 1 callers
Method
extract_webpage_url
(&self)
downloader/src/entities/gallery_dl.rs:161
↓ 1 callers
Method
fallbacks
(&self)
downloader/src/services/ytdl.rs:40
↓ 1 callers
Function
finish_ytdlp
(status: std::process::ExitStatus, stdout_res: Result<(), io::Error>, stderr_text: &str)
downloader/src/services/ytdl.rs:591
↓ 1 callers
Function
format_song
(song: &RecognizedSong, locale: &str)
bot/src/interactors/shazam.rs:256
↓ 1 callers
Function
forward_download_stream
( mut session: DownloadSession, progress_sender: Option<mpsc::UnboundedSender<DownloadProgressEvent>>,
bot/src/services/download/media.rs:747
← previous
next →
101–200 of 727, ranked by callers