Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Update youtube playlist url format
Browse files Browse the repository at this point in the history
  • Loading branch information
solocommand committed Feb 23, 2021
1 parent d7b61cf commit ab535ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -602,7 +602,7 @@ module.exports = {
const { playlistId, channelId, username } = asObject(youtube);
switch (true) {
case Boolean(playlistId):
return `https://youtube.com/playlist/${playlistId}`;
return `https://youtube.com/playlist?list=${playlistId}`;
case Boolean(channelId):
return `https://youtube.com/channel/${channelId}`;
case Boolean(username):

0 comments on commit ab535ce

Please sign in to comment.