Koischizo / AI-Vtuber

AI Livestreamer for Youtube
https://www.youtube.com/watch?v=1MrDnLBc-wQ
MIT License
402 stars 91 forks source link

I am having issues with the pytchat module someone please help me #35

Open furkanshaikh313 opened 1 year ago

furkanshaikh313 commented 1 year ago

Traceback (most recent call last): File "d:\AI\AI-Vtuber-main\AI-Vtuber-main\run.py", line 167, in read_chat() File "d:\AI\AI-Vtuber-main\AI-Vtuber-main\run.py", line 106, in read_chat chat = pytchat.create(video_id=video_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\HP\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pytchat\core__init__.py", line 6, in create _vid = extract_video_id(video_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\HP\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pytchat\util__init__.py", line 82, in extract_video_id if '[' in url_or_id: ^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable

meet447 commented 1 year ago

did you enter the video id?

furkanshaikh313 commented 1 year ago

yes i did it does work now but the thing is that i want to create a project that is completly free for everyone can you help me make it

Fadlay commented 1 year ago

@furkanshaikh313 How do you write the command? did u write like this? python run.py --video_id [Your YT-ID Here] --tts_type EL