pop123123123 / CLI_sentence_mixing

11 stars 0 forks source link

At line:1 char:81 + ... xe .\config.json https://www.youtube.com/watch?v=et3lJabShYs&t -c ".\ ... + ~ The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : AmpersandNotAllowed #7

Open Mike0004895 opened 3 years ago

Mike0004895 commented 3 years ago

When I was doing the PowerShell part for the first part, it gave me this message: At line:1 char:81

Any Fix?

pop123123123 commented 3 years ago

Have you tried to just give the video id instead of the url ? Like so : et3lJabShYs instead of https://www.youtube.com/watch?v=et3lJabShYs&t Here your URL seems to contain parameters after the ampersand, which the shell is trying to parse. You can also proably escape the ampersand or surround the URL by double quotes like this "https://www.youtube.com/watch?v=et3lJabShYs&t", or just remove the query string (URL parameters with the ampersand).