offish / twitchtube

Twitch YouTube bot. Automatically make video compilations of the most viewed Twitch clips and upload them to YouTube using Python 3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exception has occurred: TypeError [When its trying to upload]

Laezor opened this issue · comments

expected str, bytes or os.PathLike object, not int
File "E:\twitchtube\twitchtube\video.py", line 193, in make_video
upload = Upload(profile_path, sleep, headless, debug)
File "E:\twitchtube\twitch clips.py", line 5, in
make_video(

I do have geckodriver added to the path.

Make sure geckodriver is running

You're running the latest version of opplast (v1.0.7), but haven't updated twitchtube.

Updated to the latest version and I have gecko driver running. I got this error now error: There was an error Message: Unable to locate element: //input[@type='file'] when trying to upload to YouTube

Works fine for me, set HEADLESS = False and try again

Works fine now, thank you!