You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before creating an issue
I am running the latest version (15.0.0) from source. I am using fish-shell but I also reproduced this on zsh and bash.
Describe the bug
The current README.md on the Github repository has the command for downloading a youtube video via CLI as:
$ pytube https://youtube.com/watch?v=2lAe1cqCOXo
This returns a token error on zsh, bash, and fish. I was able to fix it by realizing that the URL must be fed into the CLI utility as a string. Thus the correct line in the README.md would be:
Before creating an issue
I am running the latest version (15.0.0) from source. I am using fish-shell but I also reproduced this on zsh and bash.
Describe the bug
The current README.md on the Github repository has the command for downloading a youtube video via CLI as:
$ pytube https://youtube.com/watch?v=2lAe1cqCOXo
This returns a token error on zsh, bash, and fish. I was able to fix it by realizing that the URL must be fed into the CLI utility as a string. Thus the correct line in the README.md would be:
$ pytube "https://youtube.com/watch?v=2lAe1cqCOXo"
The playlist example also does not work, that URL should also be a string.
To Reproduce
$ pytube https://youtube.com/watch?v=2lAe1cqCOXo
Running this command using the latest version (15.0.0) without marking the URL as a string will return a tokenization error.
Expected behavior
I expected it to download the video (as per the documentation)
I will attach a PR to this issue that quickly fixes the README docs.
The text was updated successfully, but these errors were encountered: