Update get playlists endpoint URL

This commit is contained in:
Adam Sandström 2023-04-18 02:00:25 +02:00 committed by Ivan Habunek
parent 7f6e792eae
commit 6f461d889c

View File

@ -335,7 +335,7 @@ def get_playlists(video_id, access_token):
""" """
For a given video return a playlist which contains possible video qualities. For a given video return a playlist which contains possible video qualities.
""" """
url = "http://usher.twitch.tv/vod/{}".format(video_id) url = "http://usher.ttvnw.net/vod/{}".format(video_id)
response = httpx.get(url, params={ response = httpx.get(url, params={
"nauth": access_token['value'], "nauth": access_token['value'],