We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12439b1 commit 64b0efeCopy full SHA for 64b0efe
1 file changed
backend/src/module/conf/tmdb.py
@@ -9,13 +9,13 @@
9
# Default TMDB API key, replace with your own key if needed
10
# Note: Using a public key is not recommended for production use.
11
# It is better to set your own key in the configuration.
12
-TMDB_API_KEY = "291237f90b24267380d6176c98f7619f"
+t = "291237f90b24267380d6176c98f7619f"
13
14
LANGUAGE = {"zh": "zh-CN", "jp": "ja-JP", "en": "en-US"}
15
16
def get_api_key():
17
"""Get the TMDB API key from settings."""
18
- return settings.rss_parser.tmdb_api_key or TMDB_API_KEY
+ return settings.rss_parser.tmdb_api_key or t
19
20
21
def search_url(keyword: str) -> str:
0 commit comments