CJReinforce / PikPakAutoOfflineDownloadBot

自动PikPak离线下载+aria2下载+释放网盘空间的TG机器人
442 stars 83 forks source link

I checked the token is true #8

Closed Daoker01 closed 5 months ago

Daoker01 commented 2 years ago

2022-07-05 08:05:03,016 - INFO - Scheduler started Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "pikpakTgBot.py", line 315, in main login(each_account) # 指定用哪个账户登录 File "pikpakTgBot.py", line 67, in login headers['Authorization'] = f"Bearer {info['access_token']}" KeyError: 'access_token'

oldjerry commented 2 years ago

This error is a pikpak login failure, then the 'info' message did not have 'access_token'. This has nothing to do with the TG token. You will check the username and PWD with your pikpak account.