Skip to content

Commit cbb8a7d

Browse files
committed
修复扫码登录报错的问题
1 parent 10122b5 commit cbb8a7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323

2424
class TikTokDownloader:
25-
VERSION = 4.2
26-
STABLE = False
25+
VERSION = 4.1
26+
STABLE = True
2727

2828
REPOSITORY = "https://github.com/JoeanAmier/TikTokDownloader"
2929
LICENCE = "GNU General Public License v3.0"
@@ -192,7 +192,7 @@ def write_cookie(self):
192192

193193
def auto_cookie(self):
194194
if cookie := self.register.run():
195-
self.cookie.extract(cookie, 0)
195+
self.cookie.extract(cookie)
196196
else:
197197
print("扫码登录失败,未写入 Cookie!")
198198
self.main()

0 commit comments

Comments
 (0)