Skip to content

Commit 430837b

Browse files
author
Foxlet
committed
youtube.py - Playlists updated to support v3
1 parent 828785d commit 430837b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/youtube.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def youtime(text):
134134
@hook.regex(ytpl_re)
135135
def ytplaylist_url(match):
136136
location = match.group(4).split("=")[-1]
137-
json = requests.get(search_api_url, params={"id": location, "key": dev_key}).json()
137+
json = requests.get(playlist_api_url, params={"id": location, "key": dev_key}).json()
138138

139139
if 'error' in json:
140140
return 'Error looking up playlist.'

0 commit comments

Comments
 (0)