Skip to content

Commit

Permalink
修复扫码登录报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeanAmier committed Sep 4, 2023
1 parent 10122b5 commit cbb8a7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.py
Expand Up @@ -22,8 +22,8 @@


class TikTokDownloader:
VERSION = 4.2
STABLE = False
VERSION = 4.1
STABLE = True

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

def auto_cookie(self):
if cookie := self.register.run():
self.cookie.extract(cookie, 0)
self.cookie.extract(cookie)
else:
print("扫码登录失败,未写入 Cookie!")
self.main()
Expand Down

0 comments on commit cbb8a7d

Please sign in to comment.