jonnekaunisto / simple-youtube-api

Object-oriented Wrapper for Youtube API in Python
https://simple-youtube-api.rtfd.io
Other
74 stars 16 forks source link

Outdated README and example #41

Open BlademasterQAQ opened 3 years ago

BlademasterQAQ commented 3 years ago

Thanks for your hard work and the project works well. But there are some problems cost me some time.

First problem is the README without set_playlist tutorial. I found it in https://github.com/jonnekaunisto/simple-youtube-api/blob/master/examples/example_youtube_upload.py#L26 , and then I know the playlist id mean a string behind the link https://www.youtube.com/playlist?list=. But when I try, the program crash and output this log:

CopyQ xmUnmP

I found the class of variable video before channel.upload_video(video) is LocalVideo, the return of the channel.upload_video(video) is YouTubeVideo, which can add_video_to_playlist. And then, I found the correct usage in https://github.com/jonnekaunisto/simple-youtube-api/issues/23#issue-694952929 .

The Other problem is the import code is error when use python setup.py install way to install. It works well that use pip install simple-youtube-api to install.