Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions youtubesearchpython/extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ def get(playlistLink: str, mode: int = ResultMode.dict) -> Union[dict, str, None
]
}
'''
return Playlist(playlistLink, None, mode).result
return PlaylistInternal(playlistLink, None, mode).result

@staticmethod
def getInfo(playlistLink: str, mode: int = ResultMode.dict) -> Union[dict, str, None]:
Expand Down Expand Up @@ -1177,7 +1177,7 @@ def getInfo(playlistLink: str, mode: int = ResultMode.dict) -> Union[dict, str,
}
}
'''
return Playlist(playlistLink, 'getInfo', mode).result
return PlaylistInternal(playlistLink, 'getInfo', mode).result

@staticmethod
def getVideos(playlistLink: str, mode: int = ResultMode.dict) -> Union[dict, str, None]:
Expand Down Expand Up @@ -1678,4 +1678,4 @@ def getVideos(playlistLink: str, mode: int = ResultMode.dict) -> Union[dict, str
]
}
'''
return Playlist(playlistLink, 'getVideos', mode).result
return PlaylistInternal(playlistLink, 'getVideos', mode).result