We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 828785d commit 430837bCopy full SHA for 430837b
1 file changed
plugins/youtube.py
@@ -134,7 +134,7 @@ def youtime(text):
134
@hook.regex(ytpl_re)
135
def ytplaylist_url(match):
136
location = match.group(4).split("=")[-1]
137
- json = requests.get(search_api_url, params={"id": location, "key": dev_key}).json()
+ json = requests.get(playlist_api_url, params={"id": location, "key": dev_key}).json()
138
139
if 'error' in json:
140
return 'Error looking up playlist.'
0 commit comments