Compare commits

..

2 Commits
2.1.1 ... 2.1.2

Author SHA1 Message Date
5a43a4388c Bump version, add changelog 2023-04-18 07:09:18 +02:00
6f461d889c Update get playlists endpoint URL 2023-04-18 07:05:01 +02:00
6 changed files with 16 additions and 3 deletions

View File

@ -3,6 +3,10 @@ twitch-dl changelog
<!-- Do not edit. This file is automatically generated from changelog.yaml.-->
### [2.1.2 (2023-04-18)](https://github.com/ihabunek/twitch-dl/releases/tag/2.1.2)
* Fix error caused by twitch changing the Usher domain (thanks @adsa95)
### [2.1.1 (2022-11-20)](https://github.com/ihabunek/twitch-dl/releases/tag/2.1.1)
* Fix Python 3.7 compatibility (#117, thanks @eliduvid)

View File

@ -1,3 +1,8 @@
2.1.2:
date: 2023-04-18
changes:
- "Fix error caused by twitch changing the Usher domain (thanks @adsa95)"
2.1.1:
date: 2022-11-20
changes:

View File

@ -3,6 +3,10 @@ twitch-dl changelog
<!-- Do not edit. This file is automatically generated from changelog.yaml.-->
### [2.1.2 (2023-04-18)](https://github.com/ihabunek/twitch-dl/releases/tag/2.1.2)
* Fix error caused by twitch changing the Usher domain (thanks @adsa95)
### [2.1.1 (2022-11-20)](https://github.com/ihabunek/twitch-dl/releases/tag/2.1.1)
* Fix Python 3.7 compatibility (#117, thanks @eliduvid)

View File

@ -11,7 +11,7 @@ makes it faster.
setup(
name="twitch-dl",
version="2.1.1",
version="2.1.2",
description="Twitch downloader",
long_description=long_description.strip(),
author="Ivan Habunek",

View File

@ -1,3 +1,3 @@
__version__ = "2.1.1"
__version__ = "2.1.2"
CLIENT_ID = "kimne78kx3ncx6brgo4mv6wki5h1ko"

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.
"""
url = "http://usher.twitch.tv/vod/{}".format(video_id)
url = "http://usher.ttvnw.net/vod/{}".format(video_id)
response = httpx.get(url, params={
"nauth": access_token['value'],