Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EstrellaXD/Auto_Bangumi
/ functions
Functions
1,732 in github.com/EstrellaXD/Auto_Bangumi
⨍
Functions
1,732
◇
Types & classes
364
↳
Endpoints
111
↓ 5 callers
Function
base64UrlToBuffer
(base64url: string)
webui/src/services/webauthn.ts:10
↓ 5 callers
Method
base64url_encode
Base64URL 编码(无 padding)
backend/src/module/security/webauthn.py:345
↓ 5 callers
Function
delete
(rss_id: number)
webui/src/api/rss.ts:16
↓ 5 callers
Method
delete_torrent
(self, hashes, delete_files: bool = True)
backend/src/module/downloader/download_client.py:151
↓ 5 callers
Method
get_content
(self, _url)
backend/src/module/network/request_contents.py:70
↓ 5 callers
Function
get_path_basename
Returns the basename of a path string. :param torrent_path: A string representing a path to a file. :type torrent_path: str :return:
backend/src/module/parser/analyser/torrent_parser.py:32
↓ 5 callers
Method
get_url
(self, url, retry=3)
backend/src/module/network/request_url.py:103
↓ 5 callers
Function
handle_tool
(name: str, arguments: dict)
backend/src/module/mcp/tools.py:198
↓ 5 callers
Method
match_by_save_path
Find bangumi by save_path to get offset. Tries exact match first, then falls back to matching with/without trailing slashes and diffe
backend/src/module/database/bangumi.py:565
↓ 5 callers
Method
match_torrent
Match torrent name to a bangumi, checking both title_raw and title_aliases. Returns the bangumi with the longest matching pattern fo
backend/src/module/database/bangumi.py:477
↓ 5 callers
Method
parse
parse text with openai Args: text (str): the text to be parsed prompt (str | None, optional): the cus
backend/src/module/parser/analyser/openai.py:76
↓ 5 callers
Method
rename_file
( self, torrent_name: str, media_path: str, bangumi_name: str, method:
backend/src/module/manager/renamer.py:98
↓ 5 callers
Function
reset_shared_client
关闭并清除共享客户端,下次请求时自动创建新连接池。
backend/src/module/network/request_url.py:69
↓ 5 callers
Method
search_id
(self, _id: int)
backend/src/module/database/bangumi.py:397
↓ 5 callers
Method
search_rss
(self, rss_id: int)
backend/src/module/database/torrent.py:46
↓ 5 callers
Method
set_rule
Create or update a qBittorrent RSS auto-download rule for one bangumi entry.
backend/src/module/downloader/download_client.py:99
↓ 5 callers
Method
torrents_info
(self, status_filter, category, tag=None)
backend/src/module/downloader/client/qb_downloader.py:135
↓ 5 callers
Function
verify_password
(plain_password, hashed_password)
backend/src/module/security/jwt.py:62
↓ 5 callers
Function
verify_token
(token: str)
backend/src/module/security/jwt.py:51
↓ 4 callers
Method
_file_depth
(file_path: PathLike[str] | str)
backend/src/module/downloader/path.py:58
↓ 4 callers
Function
_get_webauthn_from_request
从请求中构造 WebAuthnService 优先使用浏览器的 Origin header(与 clientDataJSON 中的 origin 一致)
backend/src/module/api/passkey.py:33
↓ 4 callers
Method
_make_request
(host: str | None)
backend/src/test/test_auth.py:265
↓ 4 callers
Function
_make_response
(status: bool = True, msg: str = "OK")
backend/src/test/test_mcp_tools.py:22
↓ 4 callers
Method
_mock_client
(get_resp=None, login_resp=None, get_exc=None)
backend/src/test/test_setup.py:306
↓ 4 callers
Function
_mock_rss_engine
Build a MagicMock that acts as a sync context-manager RSSEngine.
backend/src/test/test_mcp_resources.py:36
↓ 4 callers
Function
_require_setup_needed
Guard: raise 403 if setup is already completed.
backend/src/module/api/setup.py:25
↓ 4 callers
Method
add_category
(self, category)
backend/src/module/downloader/client/qb_downloader.py:128
↓ 4 callers
Method
add_default_user
(self)
backend/src/module/database/user.py:71
↓ 4 callers
Function
check_login_ip
Dependency that enforces login IP whitelist. If ``settings.security.login_whitelist`` is empty, all IPs are allowed.
backend/src/module/security/api.py:25
↓ 4 callers
Method
check_new
(self, torrents_list: list[Torrent])
backend/src/module/database/torrent.py:50
↓ 4 callers
Method
disable_rule
(self, _id: str | int, file: bool = False)
backend/src/module/manager/torrent.py:84
↓ 4 callers
Method
find_semantic_duplicate
Find existing bangumi that semantically matches the new one. This handles cases where subtitle groups change naming mid-season.
backend/src/module/database/bangumi.py:92
↓ 4 callers
Method
get_download_rule
(self)
backend/src/module/downloader/client/qb_downloader.py:316
↓ 4 callers
Method
is_ep
(self, file_path: PathLike[str] | str)
backend/src/module/downloader/path.py:61
↓ 4 callers
Method
pull_rss
(self, rss_item: RSSItem)
backend/src/module/rss/engine.py:104
↓ 4 callers
Function
returnUserLangText
(texts: { [k in Languages]: string; })
webui/src/hooks/useMyI18n.ts:46
↓ 4 callers
Method
rss_get_feeds
(self)
backend/src/module/downloader/client/qb_downloader.py:300
↓ 4 callers
Method
rss_set_rule
(self, rule_name, rule_def)
backend/src/module/downloader/client/qb_downloader.py:304
↓ 4 callers
Method
special_url
(data: Bangumi, site: str)
backend/src/module/searcher/searcher.py:73
↓ 4 callers
Method
torrents_files
(self, torrent_hash: str)
backend/src/module/downloader/client/qb_downloader.py:147
↓ 4 callers
Method
torrents_pause
(self, hashes: str)
backend/src/module/downloader/client/qb_downloader.py:228
↓ 4 callers
Function
transformApiResponse
(item: T)
webui/src/api/__tests__/bangumi.test.ts:15
↓ 4 callers
Function
transformForUpdate
(rule: { id: number; filter: string[]; rss_link: string[] })
webui/src/api/__tests__/bangumi.test.ts:66
↓ 3 callers
Method
_
Wrap *args* in the given ANSI colour code and reset at the end.
backend/src/module/conf/const.py:123
↓ 3 callers
Method
__init__
(self)
backend/src/module/core/sub_thread.py:20
↓ 3 callers
Method
__init__
(self)
backend/src/test/test_mcp_security.py:104
↓ 3 callers
Method
_call
(self, method: str, params: list = None)
backend/src/module/downloader/client/aria2_downloader.py:19
↓ 3 callers
Method
_cleanup_expired
(self)
backend/src/module/security/webauthn.py:54
↓ 3 callers
Function
_issue_token
Create a JWT, set it as an HttpOnly cookie, and return the bearer payload.
backend/src/module/api/auth.py:26
↓ 3 callers
Method
_make_feed
(self, feed_id=1, name="TestFeed", url="https://example.com/rss")
backend/src/test/test_mcp_resources.py:253
↓ 3 callers
Method
_prepare_params
_prepare_params is a helper function to prepare params for openai library. There are some differences between openai and azure openai api, so
backend/src/module/parser/analyser/openai.py:116
↓ 3 callers
Method
_render_template
Render the template with notification data. Supported variables: - {{title}} - Anime title - {{season}} - Season number
backend/src/module/notification/providers/webhook.py:36
↓ 3 callers
Method
_rule_name
(data: Bangumi)
backend/src/module/downloader/path.py:87
↓ 3 callers
Method
_store_challenge
(self, logical_key: str, challenge: bytes)
backend/src/module/security/webauthn.py:64
↓ 3 callers
Method
base64url_decode
Base64URL 解码(补齐 padding)
backend/src/module/security/webauthn.py:349
↓ 3 callers
Function
clearUser
()
webui/src/hooks/useAuth.ts:17
↓ 3 callers
Function
createUserState
()
webui/src/hooks/__tests__/useAuth.test.ts:73
↓ 3 callers
Method
delete_rule
(self, _id: int | str, file: bool = False)
backend/src/module/manager/torrent.py:50
↓ 3 callers
Method
get_all_title_patterns
Get all title patterns for matching (title_raw + all aliases).
backend/src/module/database/bangumi.py:181
↓ 3 callers
Method
get_passkeys_by_user_id
获取用户的所有 Passkey
backend/src/module/database/passkey.py:38
↓ 3 callers
Method
get_xml
(self, _url, retry: int = 3)
backend/src/module/network/request_contents.py:41
↓ 3 callers
Method
init_downloader
Apply required qBittorrent RSS preferences and create the Bangumi category.
backend/src/module/downloader/download_client.py:79
↓ 3 callers
Method
logout
(self)
backend/src/module/downloader/client/qb_downloader.py:92
↓ 3 callers
Function
make_passkey
Create a Passkey instance with sensible test defaults.
backend/src/test/factories.py:70
↓ 3 callers
Method
match_list
(self, torrent_list: list, rss_link: str)
backend/src/module/database/bangumi.py:425
↓ 3 callers
Method
move_torrent
(self, hashes, location)
backend/src/module/downloader/download_client.py:231
↓ 3 callers
Method
rename_collection
( self, media_list: list[str], bangumi_name: str, season: int, method:
backend/src/module/manager/renamer.py:170
↓ 3 callers
Method
rename_subtitles
( self, subtitle_list: list[str], torrent_name: str, bangumi_name: str,
backend/src/module/manager/renamer.py:206
↓ 3 callers
Method
rss_add_feed
(self, url, item_path)
backend/src/module/downloader/client/qb_downloader.py:284
↓ 3 callers
Method
rss_remove_item
(self, item_path)
backend/src/module/downloader/client/qb_downloader.py:292
↓ 3 callers
Function
save_image
(img, suffix)
backend/src/module/utils/cache_image.py:4
↓ 3 callers
Method
search_official_title
(self, official_title: str)
backend/src/module/database/bangumi.py:406
↓ 3 callers
Method
search_one
(self, _id: int | str)
backend/src/module/manager/torrent.py:251
↓ 3 callers
Method
set_category
(self, hashes, category)
backend/src/module/downloader/download_client.py:250
↓ 3 callers
Method
test_provider
Test a specific provider by index. Args: index: The index of the provider in the providers list. Returns: A
backend/src/module/notification/manager.py:90
↓ 3 callers
Method
torrent_parser
( torrent_path: str, torrent_name: str | None = None, season: int | None = None,
backend/src/module/parser/title_parser.py:22
↓ 3 callers
Method
torrents_rename_file
( self, torrent_hash, old_path, new_path, verify: bool = True )
backend/src/module/downloader/client/qb_downloader.py:240
↓ 2 callers
Method
__aenter__
(self)
backend/src/module/network/request_url.py:185
↓ 2 callers
Method
__match_torrents_list
(data: Bangumi | BangumiUpdate)
backend/src/module/manager/torrent.py:16
↓ 2 callers
Method
__val_from_env
Return the environment variable value, applying the converter when attr is a tuple.
backend/src/module/conf/config.py:117
↓ 2 callers
Method
_check_bangumi
Check a single bangumi for offset mismatch. Args: bangumi: The bangumi to check. Returns: True if flagged fo
backend/src/module/core/offset_scanner.py:47
↓ 2 callers
Method
_ensure_schema_version_table
Create the schema_version table if it doesn't exist.
backend/src/module/database/combine.py:129
↓ 2 callers
Function
_is_sensitive
(key: str)
backend/src/module/api/config.py:17
↓ 2 callers
Function
_normalize_group_name
Normalize group name for comparison by removing common separators.
backend/src/module/database/bangumi.py:16
↓ 2 callers
Method
_parse_transports
解析存储的 transports JSON
backend/src/module/security/webauthn.py:333
↓ 2 callers
Method
_pop_challenge_by_key
(self, logical_key: str)
backend/src/module/security/webauthn.py:72
↓ 2 callers
Function
_validate_scheme
Reject non-HTTP schemes and URLs without a hostname.
backend/src/module/api/setup.py:34
↓ 2 callers
Method
add_all
(self, datas: list[Torrent])
backend/src/module/database/torrent.py:19
↓ 2 callers
Method
analyse_keyword
( self, keywords: list[str], site: str = "mikan", limit: int = 100 )
backend/src/module/searcher/searcher.py:49
↓ 2 callers
Method
check_downloader
()
backend/src/module/checker/checker.py:60
↓ 2 callers
Method
check_first_run
()
backend/src/module/checker/checker.py:42
↓ 2 callers
Function
clear_network_cache
Clear the parsed network cache (call after config reload).
backend/src/module/mcp/security.py:38
↓ 2 callers
Method
collect_season
(self, bangumi: Bangumi, link: str = None)
backend/src/module/manager/collector.py:12
↓ 2 callers
Method
delete_all
(self)
backend/src/module/database/rss.py:121
↓ 2 callers
Method
delete_one
(self, _id: int)
backend/src/module/database/bangumi.py:358
↓ 2 callers
Method
delete_torrents
(self, data: Bangumi, client: DownloadClient)
backend/src/module/manager/torrent.py:25
↓ 2 callers
Function
detect_offset_mismatch
Detect if there's a mismatch between parsed season/episode and TMDB data. Uses air date gaps to detect "virtual seasons" - when TMDB has 1 season
backend/src/module/parser/analyser/offset_detector.py:22
↓ 2 callers
Method
disable
(self, _id: int)
backend/src/module/database/rss.py:72
↓ 2 callers
Function
filterActive
(list: typeof mockBangumiRule[])
webui/src/store/__tests__/bangumi.test.ts:11
↓ 2 callers
Function
formVerify
()
webui/src/hooks/useAuth.ts:22
← previous
next →
101–200 of 1,732, ranked by callers