Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
943 commits
Select commit Hold shift + click to select a range
cdf36c8
add new heatmap
actions-user Dec 17, 2025
628553d
add new heatmap
actions-user Dec 17, 2025
96ec46f
add new heatmap
actions-user Dec 18, 2025
37e649d
add new heatmap
actions-user Dec 18, 2025
2aab2d9
add new heatmap
actions-user Dec 19, 2025
ef5a37c
add new heatmap
actions-user Dec 19, 2025
16b38e8
add new heatmap
actions-user Dec 20, 2025
d897aee
add new heatmap
actions-user Dec 20, 2025
26a9b0a
add new heatmap
actions-user Dec 21, 2025
7092aeb
add new heatmap
actions-user Dec 21, 2025
457f963
add new heatmap
actions-user Dec 22, 2025
b38d018
add new heatmap
actions-user Dec 22, 2025
1b9397a
add new heatmap
actions-user Dec 23, 2025
8fa4bc9
add new heatmap
actions-user Dec 23, 2025
c0f30a0
add new heatmap
actions-user Dec 24, 2025
210a0f4
add new heatmap
actions-user Dec 24, 2025
b95c645
add new heatmap
actions-user Dec 25, 2025
dd47139
add new heatmap
actions-user Dec 25, 2025
705e176
add new heatmap
actions-user Dec 26, 2025
ba71e7b
add new heatmap
actions-user Dec 26, 2025
5b2493e
add new heatmap
actions-user Dec 27, 2025
c6388d2
add new heatmap
actions-user Dec 27, 2025
8ea7adb
add new heatmap
actions-user Dec 28, 2025
257f2fa
add new heatmap
actions-user Dec 28, 2025
ac19442
add new heatmap
actions-user Dec 29, 2025
9d96bf7
add new heatmap
actions-user Dec 29, 2025
86a5770
add new heatmap
actions-user Dec 30, 2025
c4a86c0
add new heatmap
actions-user Dec 30, 2025
2caf544
add new heatmap
actions-user Dec 31, 2025
c45fa0d
add new heatmap
actions-user Dec 31, 2025
191da69
add new heatmap
actions-user Jan 1, 2026
fb2a7fc
add new heatmap
actions-user Jan 1, 2026
f9f2c8e
add new heatmap
actions-user Jan 2, 2026
139e07f
add new heatmap
actions-user Jan 2, 2026
126cc4a
add new heatmap
actions-user Jan 3, 2026
7b5c29a
add new heatmap
actions-user Jan 3, 2026
1fe9b97
add new heatmap
actions-user Jan 4, 2026
4338952
add new heatmap
actions-user Jan 4, 2026
05545ed
add new heatmap
actions-user Jan 5, 2026
da51142
add new heatmap
actions-user Jan 5, 2026
f3055ca
add new heatmap
actions-user Jan 6, 2026
c60f661
add new heatmap
actions-user Jan 6, 2026
6231804
add new heatmap
actions-user Jan 7, 2026
5e07e3f
add new heatmap
actions-user Jan 7, 2026
400c93b
add new heatmap
actions-user Jan 8, 2026
4f837c9
add new heatmap
actions-user Jan 8, 2026
21c5815
add new heatmap
actions-user Jan 9, 2026
ed64eb9
add new heatmap
actions-user Jan 9, 2026
368f334
add new heatmap
actions-user Jan 10, 2026
738d74f
add new heatmap
actions-user Jan 10, 2026
6be7ec2
add new heatmap
actions-user Jan 11, 2026
12c7849
add new heatmap
actions-user Jan 11, 2026
ceed583
add new heatmap
actions-user Jan 12, 2026
e68c832
add new heatmap
actions-user Jan 12, 2026
755d916
add new heatmap
actions-user Jan 13, 2026
efc2a58
add new heatmap
actions-user Jan 13, 2026
0bc80fb
add new heatmap
actions-user Jan 14, 2026
7d027da
add new heatmap
actions-user Jan 14, 2026
d21092c
add new heatmap
actions-user Jan 15, 2026
d278c7e
add new heatmap
actions-user Jan 15, 2026
f1911c8
add new heatmap
actions-user Jan 16, 2026
28da34d
add new heatmap
actions-user Jan 16, 2026
ff46ecc
add new heatmap
actions-user Jan 17, 2026
1850edc
add new heatmap
actions-user Jan 17, 2026
8b6da17
add new heatmap
actions-user Jan 18, 2026
219bb8a
add new heatmap
actions-user Jan 18, 2026
366ef1f
add new heatmap
actions-user Jan 19, 2026
4abce33
add new heatmap
actions-user Jan 19, 2026
bfe6b13
add new heatmap
actions-user Jan 20, 2026
38e4fe1
add new heatmap
actions-user Jan 20, 2026
d5322cb
add new heatmap
actions-user Jan 21, 2026
0efb4d4
add new heatmap
actions-user Jan 21, 2026
c687570
add new heatmap
actions-user Jan 22, 2026
80d4bd8
add new heatmap
actions-user Jan 22, 2026
48864e9
add new heatmap
actions-user Jan 23, 2026
0a97e8e
add new heatmap
actions-user Jan 23, 2026
0164ee3
add new heatmap
actions-user Jan 24, 2026
cf4518a
add new heatmap
actions-user Jan 24, 2026
13ed2de
add new heatmap
actions-user Jan 25, 2026
8e567da
add new heatmap
actions-user Jan 26, 2026
9b1ad54
Merge branch 'main' into main
SigridCheng Jan 27, 2026
2292ca6
fix bug
SigridCheng Jan 27, 2026
aa8b94e
fix bug
SigridCheng Jan 27, 2026
5e05e22
fix bug
SigridCheng Jan 27, 2026
83a2eb9
Update utils.py
SigridCheng Jan 27, 2026
0fc7221
Update utils.py
SigridCheng Jan 27, 2026
1044f52
Update douban_movie.yml
SigridCheng Jan 27, 2026
06b36b7
add new heatmap
actions-user Jan 27, 2026
eead877
add new heatmap
actions-user Jan 27, 2026
4b2e55b
add new heatmap
actions-user Jan 27, 2026
52a0541
add new heatmap
actions-user Jan 27, 2026
c9f4e0b
add new heatmap
actions-user Jan 28, 2026
865e367
add new heatmap
actions-user Jan 28, 2026
ca05087
add new heatmap
actions-user Jan 29, 2026
1cd0f36
add new heatmap
actions-user Jan 29, 2026
1469a2f
add new heatmap
actions-user Jan 30, 2026
86f2a14
add new heatmap
actions-user Jan 30, 2026
0c0bfc5
add new heatmap
actions-user Jan 31, 2026
b66782c
add new heatmap
actions-user Jan 31, 2026
e07cc99
add new heatmap
actions-user Feb 1, 2026
db6b93f
add new heatmap
actions-user Feb 1, 2026
4ee9316
add new heatmap
actions-user Feb 2, 2026
abd2081
add new heatmap
actions-user Feb 2, 2026
474a6a5
add new heatmap
actions-user Feb 3, 2026
9324c18
add new heatmap
actions-user Feb 3, 2026
2027bd0
add new heatmap
actions-user Feb 4, 2026
fb2e902
add new heatmap
actions-user Feb 4, 2026
64d383a
add new heatmap
actions-user Feb 5, 2026
db6b1db
add new heatmap
actions-user Feb 5, 2026
286f878
add new heatmap
actions-user Feb 6, 2026
a7ef87b
add new heatmap
actions-user Feb 6, 2026
d822c14
add new heatmap
actions-user Feb 7, 2026
322ec39
add new heatmap
actions-user Feb 7, 2026
06c20b5
add new heatmap
actions-user Feb 8, 2026
38686cd
add new heatmap
actions-user Feb 8, 2026
de0d141
add new heatmap
actions-user Feb 9, 2026
46efb76
add new heatmap
actions-user Feb 10, 2026
752df03
add new heatmap
actions-user Feb 10, 2026
5b8ffe7
add new heatmap
actions-user Feb 11, 2026
76b97c3
add new heatmap
actions-user Feb 11, 2026
d757d26
add new heatmap
actions-user Feb 12, 2026
c0d4ae8
add new heatmap
actions-user Feb 12, 2026
869632b
add new heatmap
actions-user Feb 13, 2026
d51cde5
add new heatmap
actions-user Feb 13, 2026
883e4bd
add new heatmap
actions-user Feb 14, 2026
5512f22
add new heatmap
actions-user Feb 14, 2026
fef3c6c
add new heatmap
actions-user Feb 15, 2026
ea73318
add new heatmap
actions-user Feb 15, 2026
d6f70c8
add new heatmap
actions-user Feb 16, 2026
5ed56ac
add new heatmap
actions-user Feb 16, 2026
d8057b9
add new heatmap
actions-user Feb 17, 2026
a0d74b2
add new heatmap
actions-user Feb 17, 2026
993ff92
add new heatmap
actions-user Feb 18, 2026
94568a0
add new heatmap
actions-user Feb 18, 2026
6ebc95c
add new heatmap
actions-user Feb 19, 2026
3a27839
add new heatmap
actions-user Feb 19, 2026
de3fc83
add new heatmap
actions-user Feb 20, 2026
8707876
add new heatmap
actions-user Feb 20, 2026
c026223
add new heatmap
actions-user Feb 21, 2026
d03b8ff
add new heatmap
actions-user Feb 22, 2026
3859143
add new heatmap
actions-user Feb 22, 2026
a032daf
add new heatmap
actions-user Feb 23, 2026
7c01c60
add new heatmap
actions-user Feb 23, 2026
1c8526c
add new heatmap
actions-user Feb 24, 2026
504384a
add new heatmap
actions-user Feb 24, 2026
a052923
add new heatmap
actions-user Feb 25, 2026
ef7e43d
add new heatmap
actions-user Feb 25, 2026
8782512
add new heatmap
actions-user Feb 26, 2026
0431433
add new heatmap
actions-user Feb 26, 2026
65fc9d6
add new heatmap
actions-user Feb 27, 2026
75a62a7
add new heatmap
actions-user Feb 27, 2026
7b986f5
add new heatmap
actions-user Feb 28, 2026
f8fa639
add new heatmap
actions-user Feb 28, 2026
346f9f6
add new heatmap
actions-user Mar 1, 2026
7683c7b
add new heatmap
actions-user Mar 1, 2026
56ed555
add new heatmap
actions-user Mar 2, 2026
f23e313
add new heatmap
actions-user Mar 2, 2026
014d2c2
add new heatmap
actions-user Mar 3, 2026
a07b9dd
add new heatmap
actions-user Mar 3, 2026
3812215
add new heatmap
actions-user Mar 4, 2026
1214f22
add new heatmap
actions-user Mar 4, 2026
833030b
add new heatmap
actions-user Mar 5, 2026
4b97327
add new heatmap
actions-user Mar 5, 2026
bd3306e
add new heatmap
actions-user Mar 6, 2026
c7aecea
add new heatmap
actions-user Mar 6, 2026
47add77
add new heatmap
actions-user Mar 7, 2026
0d8e7a1
add new heatmap
actions-user Mar 7, 2026
2f9d291
add new heatmap
actions-user Mar 8, 2026
36c1834
add new heatmap
actions-user Mar 8, 2026
14fe7b8
add new heatmap
actions-user Mar 9, 2026
31b7df3
add new heatmap
actions-user Mar 9, 2026
32df77a
add new heatmap
actions-user Mar 10, 2026
8a7e400
add new heatmap
actions-user Mar 10, 2026
80529a1
add new heatmap
actions-user Mar 11, 2026
5d0a53d
add new heatmap
actions-user Mar 11, 2026
896ddf3
add new heatmap
actions-user Mar 12, 2026
6cb1ca6
add new heatmap
actions-user Mar 12, 2026
f79329b
add new heatmap
actions-user Mar 13, 2026
a6d8c53
add new heatmap
actions-user Mar 13, 2026
ceb4bab
add new heatmap
actions-user Mar 14, 2026
d5d74ca
add new heatmap
actions-user Mar 14, 2026
7042681
add new heatmap
actions-user Mar 15, 2026
2924bfb
add new heatmap
actions-user Mar 16, 2026
a78b0d7
add new heatmap
actions-user Mar 16, 2026
40e73f0
add new heatmap
actions-user Mar 17, 2026
1b07070
add new heatmap
actions-user Mar 17, 2026
f11d061
add new heatmap
actions-user Mar 18, 2026
20c2e9b
add new heatmap
actions-user Mar 18, 2026
5230e98
add new heatmap
actions-user Mar 19, 2026
a332009
add new heatmap
actions-user Mar 19, 2026
a2e696b
add new heatmap
actions-user Mar 20, 2026
6a047bf
add new heatmap
actions-user Mar 20, 2026
12f607e
add new heatmap
actions-user Mar 21, 2026
c728a34
add new heatmap
actions-user Mar 21, 2026
bb11416
add new heatmap
actions-user Mar 22, 2026
5bab497
add new heatmap
actions-user Mar 22, 2026
893c72a
add new heatmap
actions-user Mar 23, 2026
d94528a
add new heatmap
actions-user Mar 23, 2026
b166a32
add new heatmap
actions-user Mar 24, 2026
64823f4
add new heatmap
actions-user Mar 24, 2026
9b36d11
add new heatmap
actions-user Mar 25, 2026
8941b44
add new heatmap
actions-user Mar 25, 2026
fddf11e
add new heatmap
actions-user Mar 26, 2026
532854e
add new heatmap
actions-user Mar 26, 2026
1588644
add new heatmap
actions-user Mar 27, 2026
d7b122e
add new heatmap
actions-user Mar 27, 2026
85403e9
add new heatmap
actions-user Mar 28, 2026
eb0c159
add new heatmap
actions-user Mar 28, 2026
3506930
add new heatmap
actions-user Mar 29, 2026
b4fc41f
add new heatmap
actions-user Mar 29, 2026
0459c46
add new heatmap
actions-user Mar 30, 2026
ad5796b
add new heatmap
actions-user Mar 30, 2026
0b0783c
add new heatmap
actions-user Mar 31, 2026
31b3690
add new heatmap
actions-user Mar 31, 2026
549aab0
add new heatmap
actions-user Apr 1, 2026
971a534
add new heatmap
actions-user Apr 1, 2026
27981ec
add new heatmap
actions-user Apr 2, 2026
ac8ba74
add new heatmap
actions-user Apr 2, 2026
8fa5dc5
add new heatmap
actions-user Apr 3, 2026
598468e
add new heatmap
actions-user Apr 3, 2026
b6f9cd9
add new heatmap
actions-user Apr 4, 2026
af24f5f
add new heatmap
actions-user Apr 4, 2026
b958d4c
add new heatmap
actions-user Apr 5, 2026
0d49ac2
add new heatmap
actions-user Apr 5, 2026
7965e56
add new heatmap
actions-user Apr 6, 2026
011112b
add new heatmap
actions-user Apr 6, 2026
29430d6
add new heatmap
actions-user Apr 7, 2026
58ebd04
add new heatmap
actions-user Apr 7, 2026
31a9ef9
add new heatmap
actions-user Apr 8, 2026
418b1a0
add new heatmap
actions-user Apr 8, 2026
7b46f06
add new heatmap
actions-user Apr 9, 2026
ff9a49d
add new heatmap
actions-user Apr 9, 2026
f50e920
add new heatmap
actions-user Apr 10, 2026
86d8f94
add new heatmap
actions-user Apr 10, 2026
6a63ade
add new heatmap
actions-user Apr 11, 2026
aa3f599
add new heatmap
actions-user Apr 11, 2026
e7e6569
add new heatmap
actions-user Apr 12, 2026
ce1fede
add new heatmap
actions-user Apr 12, 2026
ec925df
add new heatmap
actions-user Apr 13, 2026
f22fb77
add new heatmap
actions-user Apr 13, 2026
b1f742a
add new heatmap
actions-user Apr 14, 2026
7e744ae
add new heatmap
actions-user Apr 14, 2026
4e670e7
add new heatmap
actions-user Apr 15, 2026
ad1c1ae
add new heatmap
actions-user Apr 15, 2026
bfc4ef2
add new heatmap
actions-user Apr 16, 2026
b8654d3
add new heatmap
actions-user Apr 16, 2026
b0bf8be
add new heatmap
actions-user Apr 17, 2026
f6a342a
add new heatmap
actions-user Apr 17, 2026
0e1465b
add new heatmap
actions-user Apr 18, 2026
4ce4144
add new heatmap
actions-user Apr 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/douban_movie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,26 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: 🔍 Verify installation
run: |
echo "=== 已安装的包 ==="
pip list | grep -E "notion|douban"

echo -e "\n=== 验证 Notion SDK ==="
python << 'EOF'
from notion_client import Client
client = Client(auth="test")
assert hasattr(client.databases, 'query'), "query 方法不存在!"
print("✅ Notion SDK 验证通过")
EOF
- name: 🩹 Apply Patch
run: |
# 定位系统 site-packages 路径
SITE_PACKAGES=$(python -c "import site; print(site.getsitepackages()[0])")
echo "Target path: $SITE_PACKAGES/douban2notion/utils.py"
# 用你仓库里那个已经写了 try...except 的 utils.py 覆盖系统原版
cp ./douban2notion/utils.py $SITE_PACKAGES/douban2notion/utils.py
echo "✅ Patch applied successfully!"
- name: douban movie sync
run: |
douban "movie"
Expand Down
2 changes: 0 additions & 2 deletions OUT_FOLDER/book/1769443771.svg

This file was deleted.

2 changes: 2 additions & 0 deletions OUT_FOLDER/book/1776530506.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions OUT_FOLDER/movie/1769184793.svg

This file was deleted.

2 changes: 2 additions & 0 deletions OUT_FOLDER/movie/1776531044.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 10 additions & 4 deletions douban2notion/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,11 +332,17 @@ def get_weread_url(book_id):
return f"https://weread.qq.com/web/reader/{calculate_book_str_id(book_id)}"

def str_to_timestamp(date):
if date == None:
# 只要 date 不是正常的字符串,或者长得像错误代码,统统滚粗,返回 0
if not isinstance(date, str) or "Invalid" in str(date) or not date:
return 0

try:
# 只有在这里面报错,程序才不会死
dt = pendulum.parse(date)
return int(dt.timestamp())
except:
# 就算 pendulum 报错了,我也强行让它返回 0
return 0
dt = pendulum.parse(date)
# 获取时间戳
return int(dt.timestamp())

upload_url = 'https://wereadassets.malinkang.com/'

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ github-heatmap==1.3.8
retrying==1.4.2
pendulum==3.1.0
python-dotenv==1.2.1
douban2notion
douban2notion