Open BlademasterQAQ opened 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:
https://www.youtube.com/playlist?list=
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 .
video
channel.upload_video(video)
LocalVideo
YouTubeVideo
add_video_to_playlist
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.
python setup.py install
pip install simple-youtube-api
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:I found the class of variable
video
beforechannel.upload_video(video)
isLocalVideo
, the return of thechannel.upload_video(video)
isYouTubeVideo
, which canadd_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 usepip install simple-youtube-api
to install.