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
Method
new
(aspect_ratio: f32)
downloader/src/utils/aspect.rs:14
Method
new
(tokens: Vec<Box<str>>)
downloader/src/grpc/auth.rs:16
Method
new
(cfg: Arc<SpotdlConfig>)
downloader/src/services/spotdl.rs:48
Method
new
(cfg: Arc<SongrecConfig>)
downloader/src/services/songrec.rs:53
Method
new
(config: &ReplaceDomainsConfig)
downloader/src/services/domain_replacer.rs:37
Method
new
(cfg: &SnapsaveConfig)
downloader/src/services/snapsave.rs:26
Method
new
(media_with_formats: Vec<(MediaWithFormat, RawMediaWithFormat)>)
downloader/src/entities/media.rs:218
Method
new
(path: impl AsRef<Path>)
downloader/src/entities/cookies.rs:22
Method
new
(name: Box<str>, address: Box<str>, token: Box<str>, channel: Channel)
downloader_client/src/handle.rs:28
Method
new
(config: &DownloaderClusterConfig, max_file_size: u64, service_target: Arc<DownloaderServiceTarget>)
downloader_client/src/router.rs:33
Method
new
(client: AssignmentNodeClient, service_target: DownloaderServiceTarget)
cookie_assignment/src/service.rs:27
Method
new
(aspect_ratio: f32)
bot/src/utils/media.rs:16
Method
new
(token: impl Into<Box<str>>)
bot/src/utils/error.rs:63
Method
new
(pool: Arc<DatabaseConnection>, factories: Arc<TxManagerFactories>)
bot/src/database/tx_manager.rs:28
Method
new
( chat_reader: Box<dyn ChatReaderFactory>, chat_repo: Box<dyn ChatRepoFactory>, chat_c
bot/src/database/factories.rs:57
Method
new
(conn: &'a Conn)
bot/src/database/repos/chat.rs:16
Method
new
(conn: &'a Conn)
bot/src/database/repos/downloaded_media.rs:16
Method
new
(conn: &'a Conn)
bot/src/database/repos/chat_config.rs:23
Method
new
(conn: &'a Conn)
bot/src/database/readers/chat.rs:19
Method
new
(conn: &'a Conn)
bot/src/database/readers/downloaded_media.rs:24
Method
new
(conn: &'a Conn)
bot/src/database/readers/chat_config.rs:19
Method
new
(tx_manager: Arc<Box<dyn TxManager>>)
bot/src/services/chat.rs:17
Method
new
(tx_manager: Arc<Box<dyn TxManager>>)
bot/src/services/downloaded_media.rs:30
Method
new
(node_router: Arc<NodeRouter>, cfg: Arc<TrackingParamsConfig>, tx_manager: Arc<Box<dyn TxManager>>)
bot/src/services/get_media.rs:76
Method
new
(message: impl Into<Box<str>>)
bot/src/services/messenger.rs:21
Method
new
(bot: Arc<Bot>, client: Arc<Client>, api_server: Arc<APIServer>, cfg: &TelegramBotApiConfig, bot_cfg: &BotConf
bot/src/services/file_download.rs:30
Method
new
(conn: ConnectionManager, cfg: Arc<QueueConfig>)
bot/src/services/queue.rs:51
Method
new
(node_router: Arc<NodeRouter>)
bot/src/services/node_router.rs:16
Method
new
(bot: Arc<Bot>, error_formatter: Arc<ErrorFormatter>, timeouts_cfg: Arc<TimeoutsConfig>)
bot/src/services/messenger/telegram.rs:42
Method
new
(messenger: Arc<Messenger>)
bot/src/services/send_media/id.rs:42
Method
new
(messenger: Arc<Messenger>)
bot/src/services/send_media/upload.rs:18
Method
new
( url: &'a Url, playlist: Vec<(Media, Vec<(MediaFormat, RawMediaWithFormat)>)>, sectio
bot/src/services/download/media.rs:125
Method
new
(media_with_formats: Vec<(MediaWithFormat, RawMediaWithFormat)>)
bot/src/entities/media.rs:236
Method
new
(tg_id: i64, username: Option<String>, chat_type: ChatType)
bot/src/entities/chat.rs:15
Method
new
( media_type: MediaType, url: Option<Url>, params: Params, chat_cfg: ChatConfi
bot/src/entities/download_job.rs:44
Method
new
(tg_id: i64, cmd_random_enabled: bool, language: String)
bot/src/entities/chat_config.rs:22
Method
new
( error_formatter: Arc<ErrorFormatter>, messenger: Arc<Messenger>, update_chat_cfg: Ar
bot/src/interactors/config.rs:29
Method
new
( cfg: Arc<Config>, error_formatter: Arc<ErrorFormatter>, messenger: Arc<Messenger>,
bot/src/interactors/audio.rs:50
Method
new
( cfg: Arc<Config>, error_formatter: Arc<ErrorFormatter>, messenger: Arc<Messenger>,
bot/src/interactors/chosen_inline.rs:44
Method
new
( cfg: Arc<Config>, error_formatter: Arc<ErrorFormatter>, playlist_downloader: Arc<med
bot/src/interactors/auto.rs:49
Method
new
( cfg: Arc<Config>, error_formatter: Arc<ErrorFormatter>, messenger: Arc<Messenger>,
bot/src/interactors/video.rs:50
Method
new
(cfg: Arc<Config>, error_formatter: Arc<ErrorFormatter>, messenger: Arc<Messenger>)
bot/src/interactors/start.rs:27
Method
new
( cfg: Arc<Config>, error_formatter: Arc<ErrorFormatter>, messenger: Arc<Messenger>,
bot/src/interactors/photo.rs:41
Method
new
( error_formatter: Arc<ErrorFormatter>, messenger: Arc<Messenger>, file_downloader: Ar
bot/src/interactors/shazam.rs:44
Method
new
( error_formatter: Arc<ErrorFormatter>, messenger: Arc<Messenger>, get_basic_info_medi
bot/src/interactors/inline_query.rs:31
Method
new
( error_formatter: Arc<ErrorFormatter>, messenger: Arc<Messenger>, update_chat_cfg: Ar
bot/src/interactors/lang.rs:27
Method
new
( error_formatter: Arc<ErrorFormatter>, messenger: Arc<Messenger>, media_stats: Arc<do
bot/src/interactors/stats.rs:34
Method
new
(messenger: Arc<Messenger>, queue: Arc<RedisJobQueue>)
bot/src/interactors/enqueue_download.rs:26
Method
new_with_progress
( url: &'a Url, media: &'a Media, sections: Option<&'a Sections>, formats: Vec
bot/src/services/download/media.rs:58
Function
no_output_is_empty
()
downloader/src/services/spotdl.rs:149
Function
no_track_is_no_match
()
downloader/src/services/songrec.rs:235
Function
not_active_livestream_when_was_live
()
downloader/src/entities/media.rs:360
Function
on_shutdown
()
bot/src/utils/shutdown.rs:4
Function
on_startup
(bot: Bot, node_router: Arc<NodeRouter>, cfg: Arc<Config>)
bot/src/utils/startup.rs:69
Function
parse_empty_string_defaults
()
downloader/src/entities/sections.rs:170
Function
parse_empty_string_defaults
()
bot/src/entities/sections.rs:172
Function
parse_end_only
()
downloader/src/entities/sections.rs:128
Function
parse_end_only
()
bot/src/entities/sections.rs:130
Function
parse_full_range
()
downloader/src/entities/sections.rs:92
Function
parse_full_range
()
bot/src/entities/sections.rs:94
Function
parse_full_video_dash_only
()
downloader/src/entities/sections.rs:140
Function
parse_full_video_dash_only
()
bot/src/entities/sections.rs:142
Function
parse_host_port_domain
()
downloader_client/src/client.rs:107
Function
parse_host_port_ipv6
()
downloader_client/src/client.rs:115
Function
parse_invalid_format_multiple_dashes
()
downloader/src/entities/sections.rs:182
Function
parse_invalid_format_multiple_dashes
()
bot/src/entities/sections.rs:184
Function
parse_invalid_time
()
downloader/src/entities/sections.rs:176
Function
parse_invalid_time
()
bot/src/entities/sections.rs:178
Function
parse_range_accepts_valid_input
()
downloader/src/grpc/downloader.rs:1343
Function
parse_range_defaults_when_absent
()
downloader/src/grpc/downloader.rs:1356
Function
parse_range_rejects_inverted_start_count
()
downloader/src/grpc/downloader.rs:1332
Function
parse_range_rejects_non_positive_values
()
downloader/src/grpc/downloader.rs:1320
Function
parse_seconds_range
()
downloader/src/entities/sections.rs:104
Function
parse_seconds_range
()
bot/src/entities/sections.rs:106
Method
parse_section
(raw: &str)
downloader/src/entities/sections.rs:19
Method
parse_section
(raw: &str)
bot/src/entities/sections.rs:19
Function
parse_start_only
()
downloader/src/entities/sections.rs:116
Function
parse_start_only
()
bot/src/entities/sections.rs:118
Function
parse_with_spaces
()
downloader/src/entities/sections.rs:158
Function
parse_with_spaces
()
bot/src/entities/sections.rs:160
Method
parse_with_span
Finds the first `[...]` block whose content parses as params, returning the parsed params and the byte range of the block (so callers can strip it fro
bot/src/entities/params.rs:15
Function
parse_with_star_prefix
()
downloader/src/entities/sections.rs:146
Function
parse_with_star_prefix
()
bot/src/entities/sections.rs:148
Function
parses_gallery_dl_event_array
()
downloader/src/services/gallery_dl.rs:377
Function
parses_matched_track
()
downloader/src/services/songrec.rs:214
Function
parses_multiple_urls_in_order
()
downloader/src/services/spotdl.rs:134
Function
parses_single_url
()
downloader/src/services/spotdl.rs:126
Function
parses_unplayable_video_info
()
bot/src/entities/yt_toolkit/basic_info.rs:65
Function
parses_video_info_without_thumbnail
()
bot/src/entities/yt_toolkit/basic_info.rs:52
Function
parses_vk_file_event_into_photo_info
()
downloader/src/services/gallery_dl.rs:525
Method
poll_next
(self: Pin<&mut Self>, cx: &mut Context<'_>)
bot/src/services/download/media.rs:742
Function
prefers_lower_projected_utilization
()
downloader_client/src/router.rs:238
Function
preserves_case_and_handles_uppercase_extension
()
bot/src/utils/fs.rs:76
Function
preserves_same_multi_extension_tag_gz
()
bot/src/utils/fs.rs:41
Function
preserves_same_multi_extension_tar_gz
()
bot/src/utils/fs.rs:34
Function
preserves_weird_suffix_and_appends_extension
()
bot/src/utils/fs.rs:104
Method
push_cookie
(&self, request: Request<PushCookieRequest>)
downloader/src/grpc/cookie_manager.rs:17
Function
random
(message: Message, params: Params, Inject(interactor): Inject<audio::Random<Messenger>>)
bot/src/handlers/audio.rs:48
Function
random
(message: Message, params: Params, Inject(interactor): Inject<video::Random<Messenger>>)
bot/src/handlers/video.rs:108
Function
random_cmd_is_enabled
(request: &mut Request)
bot/src/filters/random_cmd.rs:6
← previous
next →
501–600 of 727, ranked by callers