Try printing ( with log) the command you are trying to execute, run it in a seperate command line to see if it's working properly.
since it's related to input I am suspecting the problem is with the youtube url you are providing
Gmail IMAP fail, need Oauth. Anyone can help?
-
Hi, need some help about gmail IMAP. When I try the IMAP, it fails in BAS. It looks like that BAS has to add Oauth or some other ways. Anyone who can help to solve this problems?

-
Have you used an "app password" when using Imap Gmail?
-
Hi, thank you for your reply. Have you ever meet the same problem, and solved it finally? I can't find the way to generate the "app password"
-