offish / twitchtube

Twitch YouTube bot. Automatically make video compilations of the most viewed Twitch clips and upload them to YouTube using Python 3.
MIT License
543 stars 75 forks source link

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

Closed Laezor closed 3 years ago

Laezor commented 3 years ago

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.

zeak6464 commented 3 years ago

Make sure geckodriver is running

offish commented 3 years ago

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

Laezor commented 3 years ago

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

offish commented 3 years ago

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

Laezor commented 3 years ago

Works fine now, thank you!