MCPcopy Create free account

hub / github.com/EstrellaXD/Auto_Bangumi / functions

Functions1,732 in github.com/EstrellaXD/Auto_Bangumi

↓ 5 callersFunctionbase64UrlToBuffer
(base64url: string)
webui/src/services/webauthn.ts:10
↓ 5 callersMethodbase64url_encode
Base64URL 编码(无 padding)
backend/src/module/security/webauthn.py:345
↓ 5 callersFunctiondelete
(rss_id: number)
webui/src/api/rss.ts:16
↓ 5 callersMethoddelete_torrent
(self, hashes, delete_files: bool = True)
backend/src/module/downloader/download_client.py:151
↓ 5 callersMethodget_content
(self, _url)
backend/src/module/network/request_contents.py:70
↓ 5 callersFunctionget_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 callersMethodget_url
(self, url, retry=3)
backend/src/module/network/request_url.py:103
↓ 5 callersFunctionhandle_tool
(name: str, arguments: dict)
backend/src/module/mcp/tools.py:198
↓ 5 callersMethodmatch_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 callersMethodmatch_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 callersMethodparse
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 callersMethodrename_file
( self, torrent_name: str, media_path: str, bangumi_name: str, method:
backend/src/module/manager/renamer.py:98
↓ 5 callersFunctionreset_shared_client
关闭并清除共享客户端,下次请求时自动创建新连接池。
backend/src/module/network/request_url.py:69
↓ 5 callersMethodsearch_id
(self, _id: int)
backend/src/module/database/bangumi.py:397
↓ 5 callersMethodsearch_rss
(self, rss_id: int)
backend/src/module/database/torrent.py:46
↓ 5 callersMethodset_rule
Create or update a qBittorrent RSS auto-download rule for one bangumi entry.
backend/src/module/downloader/download_client.py:99
↓ 5 callersMethodtorrents_info
(self, status_filter, category, tag=None)
backend/src/module/downloader/client/qb_downloader.py:135
↓ 5 callersFunctionverify_password
(plain_password, hashed_password)
backend/src/module/security/jwt.py:62
↓ 5 callersFunctionverify_token
(token: str)
backend/src/module/security/jwt.py:51
↓ 4 callersMethod_file_depth
(file_path: PathLike[str] | str)
backend/src/module/downloader/path.py:58
↓ 4 callersFunction_get_webauthn_from_request
从请求中构造 WebAuthnService 优先使用浏览器的 Origin header(与 clientDataJSON 中的 origin 一致)
backend/src/module/api/passkey.py:33
↓ 4 callersMethod_make_request
(host: str | None)
backend/src/test/test_auth.py:265
↓ 4 callersFunction_make_response
(status: bool = True, msg: str = "OK")
backend/src/test/test_mcp_tools.py:22
↓ 4 callersMethod_mock_client
(get_resp=None, login_resp=None, get_exc=None)
backend/src/test/test_setup.py:306
↓ 4 callersFunction_mock_rss_engine
Build a MagicMock that acts as a sync context-manager RSSEngine.
backend/src/test/test_mcp_resources.py:36
↓ 4 callersFunction_require_setup_needed
Guard: raise 403 if setup is already completed.
backend/src/module/api/setup.py:25
↓ 4 callersMethodadd_category
(self, category)
backend/src/module/downloader/client/qb_downloader.py:128
↓ 4 callersMethodadd_default_user
(self)
backend/src/module/database/user.py:71
↓ 4 callersFunctioncheck_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 callersMethodcheck_new
(self, torrents_list: list[Torrent])
backend/src/module/database/torrent.py:50
↓ 4 callersMethoddisable_rule
(self, _id: str | int, file: bool = False)
backend/src/module/manager/torrent.py:84
↓ 4 callersMethodfind_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 callersMethodget_download_rule
(self)
backend/src/module/downloader/client/qb_downloader.py:316
↓ 4 callersMethodis_ep
(self, file_path: PathLike[str] | str)
backend/src/module/downloader/path.py:61
↓ 4 callersMethodpull_rss
(self, rss_item: RSSItem)
backend/src/module/rss/engine.py:104
↓ 4 callersFunctionreturnUserLangText
(texts: { [k in Languages]: string; })
webui/src/hooks/useMyI18n.ts:46
↓ 4 callersMethodrss_get_feeds
(self)
backend/src/module/downloader/client/qb_downloader.py:300
↓ 4 callersMethodrss_set_rule
(self, rule_name, rule_def)
backend/src/module/downloader/client/qb_downloader.py:304
↓ 4 callersMethodspecial_url
(data: Bangumi, site: str)
backend/src/module/searcher/searcher.py:73
↓ 4 callersMethodtorrents_files
(self, torrent_hash: str)
backend/src/module/downloader/client/qb_downloader.py:147
↓ 4 callersMethodtorrents_pause
(self, hashes: str)
backend/src/module/downloader/client/qb_downloader.py:228
↓ 4 callersFunctiontransformApiResponse
(item: T)
webui/src/api/__tests__/bangumi.test.ts:15
↓ 4 callersFunctiontransformForUpdate
(rule: { id: number; filter: string[]; rss_link: string[] })
webui/src/api/__tests__/bangumi.test.ts:66
↓ 3 callersMethod_
Wrap *args* in the given ANSI colour code and reset at the end.
backend/src/module/conf/const.py:123
↓ 3 callersMethod__init__
(self)
backend/src/module/core/sub_thread.py:20
↓ 3 callersMethod__init__
(self)
backend/src/test/test_mcp_security.py:104
↓ 3 callersMethod_call
(self, method: str, params: list = None)
backend/src/module/downloader/client/aria2_downloader.py:19
↓ 3 callersMethod_cleanup_expired
(self)
backend/src/module/security/webauthn.py:54
↓ 3 callersFunction_issue_token
Create a JWT, set it as an HttpOnly cookie, and return the bearer payload.
backend/src/module/api/auth.py:26
↓ 3 callersMethod_make_feed
(self, feed_id=1, name="TestFeed", url="https://example.com/rss")
backend/src/test/test_mcp_resources.py:253
↓ 3 callersMethod_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 callersMethod_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 callersMethod_rule_name
(data: Bangumi)
backend/src/module/downloader/path.py:87
↓ 3 callersMethod_store_challenge
(self, logical_key: str, challenge: bytes)
backend/src/module/security/webauthn.py:64
↓ 3 callersMethodbase64url_decode
Base64URL 解码(补齐 padding)
backend/src/module/security/webauthn.py:349
↓ 3 callersFunctionclearUser
()
webui/src/hooks/useAuth.ts:17
↓ 3 callersFunctioncreateUserState
()
webui/src/hooks/__tests__/useAuth.test.ts:73
↓ 3 callersMethoddelete_rule
(self, _id: int | str, file: bool = False)
backend/src/module/manager/torrent.py:50
↓ 3 callersMethodget_all_title_patterns
Get all title patterns for matching (title_raw + all aliases).
backend/src/module/database/bangumi.py:181
↓ 3 callersMethodget_passkeys_by_user_id
获取用户的所有 Passkey
backend/src/module/database/passkey.py:38
↓ 3 callersMethodget_xml
(self, _url, retry: int = 3)
backend/src/module/network/request_contents.py:41
↓ 3 callersMethodinit_downloader
Apply required qBittorrent RSS preferences and create the Bangumi category.
backend/src/module/downloader/download_client.py:79
↓ 3 callersMethodlogout
(self)
backend/src/module/downloader/client/qb_downloader.py:92
↓ 3 callersFunctionmake_passkey
Create a Passkey instance with sensible test defaults.
backend/src/test/factories.py:70
↓ 3 callersMethodmatch_list
(self, torrent_list: list, rss_link: str)
backend/src/module/database/bangumi.py:425
↓ 3 callersMethodmove_torrent
(self, hashes, location)
backend/src/module/downloader/download_client.py:231
↓ 3 callersMethodrename_collection
( self, media_list: list[str], bangumi_name: str, season: int, method:
backend/src/module/manager/renamer.py:170
↓ 3 callersMethodrename_subtitles
( self, subtitle_list: list[str], torrent_name: str, bangumi_name: str,
backend/src/module/manager/renamer.py:206
↓ 3 callersMethodrss_add_feed
(self, url, item_path)
backend/src/module/downloader/client/qb_downloader.py:284
↓ 3 callersMethodrss_remove_item
(self, item_path)
backend/src/module/downloader/client/qb_downloader.py:292
↓ 3 callersFunctionsave_image
(img, suffix)
backend/src/module/utils/cache_image.py:4
↓ 3 callersMethodsearch_official_title
(self, official_title: str)
backend/src/module/database/bangumi.py:406
↓ 3 callersMethodsearch_one
(self, _id: int | str)
backend/src/module/manager/torrent.py:251
↓ 3 callersMethodset_category
(self, hashes, category)
backend/src/module/downloader/download_client.py:250
↓ 3 callersMethodtest_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 callersMethodtorrent_parser
( torrent_path: str, torrent_name: str | None = None, season: int | None = None,
backend/src/module/parser/title_parser.py:22
↓ 3 callersMethodtorrents_rename_file
( self, torrent_hash, old_path, new_path, verify: bool = True )
backend/src/module/downloader/client/qb_downloader.py:240
↓ 2 callersMethod__aenter__
(self)
backend/src/module/network/request_url.py:185
↓ 2 callersMethod__match_torrents_list
(data: Bangumi | BangumiUpdate)
backend/src/module/manager/torrent.py:16
↓ 2 callersMethod__val_from_env
Return the environment variable value, applying the converter when attr is a tuple.
backend/src/module/conf/config.py:117
↓ 2 callersMethod_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 callersMethod_ensure_schema_version_table
Create the schema_version table if it doesn't exist.
backend/src/module/database/combine.py:129
↓ 2 callersFunction_is_sensitive
(key: str)
backend/src/module/api/config.py:17
↓ 2 callersFunction_normalize_group_name
Normalize group name for comparison by removing common separators.
backend/src/module/database/bangumi.py:16
↓ 2 callersMethod_parse_transports
解析存储的 transports JSON
backend/src/module/security/webauthn.py:333
↓ 2 callersMethod_pop_challenge_by_key
(self, logical_key: str)
backend/src/module/security/webauthn.py:72
↓ 2 callersFunction_validate_scheme
Reject non-HTTP schemes and URLs without a hostname.
backend/src/module/api/setup.py:34
↓ 2 callersMethodadd_all
(self, datas: list[Torrent])
backend/src/module/database/torrent.py:19
↓ 2 callersMethodanalyse_keyword
( self, keywords: list[str], site: str = "mikan", limit: int = 100 )
backend/src/module/searcher/searcher.py:49
↓ 2 callersMethodcheck_downloader
()
backend/src/module/checker/checker.py:60
↓ 2 callersMethodcheck_first_run
()
backend/src/module/checker/checker.py:42
↓ 2 callersFunctionclear_network_cache
Clear the parsed network cache (call after config reload).
backend/src/module/mcp/security.py:38
↓ 2 callersMethodcollect_season
(self, bangumi: Bangumi, link: str = None)
backend/src/module/manager/collector.py:12
↓ 2 callersMethoddelete_all
(self)
backend/src/module/database/rss.py:121
↓ 2 callersMethoddelete_one
(self, _id: int)
backend/src/module/database/bangumi.py:358
↓ 2 callersMethoddelete_torrents
(self, data: Bangumi, client: DownloadClient)
backend/src/module/manager/torrent.py:25
↓ 2 callersFunctiondetect_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 callersMethoddisable
(self, _id: int)
backend/src/module/database/rss.py:72
↓ 2 callersFunctionfilterActive
(list: typeof mockBangumiRule[])
webui/src/store/__tests__/bangumi.test.ts:11
↓ 2 callersFunctionformVerify
()
webui/src/hooks/useAuth.ts:22
← previousnext →101–200 of 1,732, ranked by callers