작성 하신 치지직 크롤러 기반으로 활용해서 잘 사용 하던 도중 어느 시점 부터 방송 19금을 걸 시 아래와 같은 오류가 뜹니다.
NID_AUT, NID_SES 값은 혹시 해서 삭제 했습니다.
Traceback (most recent call last):
File "c:\Users\yunseong.kim\Desktop\test1\ChzzkChat\module\api.py", line 84, in fetch_accessToken
return response['content']['accessToken'], response['content']['extraToken']
TypeError: 'NoneType' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\yunseong.kim\anaconda3\envs\chzzk\lib\multiprocessing\process.py", line 315, in _bootstrap
self.run()
File "C:\Users\yunseong.kim\anaconda3\envs\chzzk\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "c:\Users\yunseong.kim\Desktop\test1\ChzzkChat\test9.py", line 914, in check_chatChannelId
asyncio.run(chzzk_chat_instance.connect())
File "C:\Users\yunseong.kim\anaconda3\envs\chzzk\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\yunseong.kim\anaconda3\envs\chzzk\lib\asyncio\base_events.py", line 647, in run_until_complete
return future.result()
File "c:\Users\yunseong.kim\Desktop\test1\ChzzkChat\test9.py", line 81, in connect
self.accessToken, self.extraToken = api.fetch_accessToken(self.chatChannelId, self.cookies)
File "c:\Users\yunseong.kim\Desktop\test1\ChzzkChat\module\api.py", line 86, in fetch_accessToken
raise ValueError(f'잘못된 입력값 : {chatChannelId}, {cookies}')
ValueError: 잘못된 입력값 : None, NID_AUT, NID_SES