Skip to content

Commit 04ecea0

Browse files
committed
更新 README.md: LeetCode 主站添加了 Cloudflare 反爬虫机制
1 parent de35811 commit 04ecea0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Diff for: README.md

+6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88

99
使用 Python 脚本分批将力扣(`leetcode.com``leetcode-cn.com`)上面的题目保存下来,方便没有网的时候进行学习。(仅包含可以在网页上直接打开的公开题目,不包含 VIP 题目)
1010

11+
> 2025.01.09 更新
12+
>
13+
> LeetCode 主站添加了 Cloudflare 反爬虫机制,**目前 leetcode.py 脚本无法正常获取题目数据**。为保证其平台版权,此仓库无绕过其反爬虫机制的相关计划。相关脚本保留,但不再更新。
14+
>
15+
> (力扣中国站点不受此影响,**leetcode-cn.py 脚本依然可用**
16+
1117

1218

1319
### 仓库目录结构

Diff for: get.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ git checkout master
22
git pull
33
git count-objects -vH
44

5-
python leetcode.py
5+
:: python leetcode.py
66
python leetcode-cn.py
77

88
git status

0 commit comments

Comments
 (0)