DEV Community

Discussion on: Build Virtual Assistant with Python | Automate Tasks

Collapse
 
aaditya0407 profile image
Aaditya Banerjee

While trying to search and play an YouTube video, I am getting this error :
"
Traceback (most recent call last):
File "tars.py", line 159, in
tars(myCommand())
File "tars.py", line 137, in tars
webbrowser.open("youtube.com/watch?v={}".format(sea...)
IndexError: list index out of range
"
Someone please help.