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
538 stars 77 forks source link

SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escap #30

Closed matorina22 closed 3 years ago

matorina22 commented 3 years ago

After running the python main.py command I get this error.

Traceback (most recent call last): File "C:\Users*\Downloads\youtube\twitchtube-master\main.py", line 8, in from twitchtube.config import File "C:\Users**\Downloads\youtube\twitchtube-master\twitchtube\config.py", line 15 ROOT_PROFILE_PATH = "C:\Users****\AppData\Roaming\Mozilla\Firefox\Profiles\5q8sjx41.Selenium2" ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape

Gobot1234 commented 3 years ago

put an r infront of the string

matorina22 commented 3 years ago

Doesn't work I don't even know what you mean by that

Gobot1234 commented 3 years ago

r"C:\Users****\AppData\Roaming\Mozilla\Firefox\Profiles\5q8sjx41.Selenium2"

matorina22 commented 3 years ago

Think it worked man thanks!