We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73fdef8 commit 0bccb4bCopy full SHA for 0bccb4b
code/rthk.py
@@ -26,9 +26,14 @@
26
from feedgen.feed import FeedGenerator
27
from urllib.parse import urlparse
28
from requests_cache import CachedResponse
29
+import logging
30
31
setattr(CachedResponse, "lazy", False) # https://github.com/jawah/niquests/issues/241
32
33
+# 設置日誌
34
+logging.basicConfig(level=logging.INFO)
35
+logger = logging.getLogger(_name_)
36
+
37
# ------------------------------
38
# 初始設定:檢查環境並顯示提示
39
def initial_setup():
0 commit comments