Skip to content

Commit 3504193

Browse files
committed
Update API endpoints for albums and videos to use version 2
1 parent d4046dd commit 3504193

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addon.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
API_ENDPOINT_MODELS_FILTER = "https://stripchat.com/api/front/models?&limit={0}&offset={1}&primaryTag={2}&filterGroupTags=[[\"{3}\"]]&sortBy={4}"
4343
API_ENDPOINT_MODEL = "https://stripchat.com/api/front/v2/models/username/{0}/cam"
4444
API_ENDPOINT_MEMBERS = "https://stripchat.com/api/front/models/username/{0}/members"
45-
API_ENDPOINT_ALBUMS = "https://stripchat.com/api/front/users/username/{0}/albums"
45+
API_ENDPOINT_ALBUMS = "https://stripchat.com/api/front/v2/users/username/{0}/albums"
4646
API_ENDPOINT_ALBUM = "https://stripchat.com/api/front/users/username/{0}/albums/{1}/photos"
47-
API_ENDPOINT_VIDEOS = "https://stripchat.com/api/front/users/username/{0}/videos"
47+
API_ENDPOINT_VIDEOS = "https://de.stripchat.com/api/front/v2/users/username/{0}/videos"
4848
API_ENDPOINT_SEARCH = "https://stripchat.com/api/front/v4/models/search/group/username?query={0}&primaryTag={1}&limit=99"
4949

5050
SNAPSHOT_IMAGE = "https://img.strpst.com/{0}/thumbs/{1}/{2}_webp"

0 commit comments

Comments
 (0)