alexmercerind/youtube-search-python

Error when trying to use Playlist.get()

Closed this issue · 1 comments

Whenever I try and use Playlist.get() I get this error, even when running the example from the README

  File "D:\Program Files\Python39\lib\site-packages\youtubesearchpython\extras.py", line 1111, in get
    return Playlist(playlistLink, None, mode).result
TypeError: __init__() takes 2 positional arguments but 4 were given

Figured it out, the return call in extras.py should have been return PlaylistInternal(playlistLink, None, mode).result
instead of return Playlist(playlistLink, None, mode).result