I use vinetrimmer to download movies from hotstar.
About a month ago I was unable to download new movies that were added since last month. It shows "HTTP Error 404: Not Found".
But there is no problem for old movies before last month.
I think hotstar changed the playback URL for new movies.
So anyone knows how to find it?
manifest: 'https://api.hotstar.com/play/v4/playback/content/{id}'
Thank you.2024-04-04 22:28:55 [I] vt : vinetrimmer - Widevine DRM downloader and decrypter
2024-04-04 22:28:55 [I] vt : [Root Config] : U:\Hotstar\vinetrimmer\vinetrimmer.yml
2024-04-04 22:28:55 [I] vt : [Service Configs] : U:\Hotstar\vinetrimmer\Services
2024-04-04 22:28:55 [I] vt : [Cookies] : U:\Hotstar\vinetrimmer\Cookies
2024-04-04 22:28:55 [I] vt : [CDM Devices] : U:\Hotstar\vinetrimmer\devices
2024-04-04 22:28:55 [I] vt : [Cache] : U:\Hotstar\vinetrimmer\Cache
2024-04-04 22:28:55 [I] vt : [Logs] : U:\Hotstar\vinetrimmer\Logs
2024-04-04 22:28:55 [I] vt : [Temp Files] : U:\Hotstar\Temp
2024-04-04 22:28:55 [I] vt : [Downloads] : U:\Hotstar\Downloads
2024-04-04 22:28:55 [I] dl : + 1 Local Vault
2024-04-04 22:28:55 [I] dl : + 0 Remote Vaults
2024-04-04 22:28:55 [I] dl : + Loaded LocalDevice: 4464 (L3)
2024-04-04 22:28:55 [W] HS : - Unable to parse title ID '1271275607', using as-is
2024-04-04 22:28:55 [I] HS : Logging into Hotstar
2024-04-04 22:28:55 [I] HS : + Calculated HotstarAuth: st=1712244535~exp=1712250535~acl=/*~hmac=.........
2024-04-04 22:28:55 [I] HS : + Using Device ID: .......
2024-04-04 22:28:55 [I] HS : + Using cached auth tokens...
2024-04-04 22:28:55 [I] HS : + Obtained tokens
2024-04-04 22:28:55 [I] HS : Retrieving Titles
2024-04-04 22:28:55 [D] urllib3.connectionpool : Starting new HTTPS connection (1): api.hotstar.com:443
2024-04-04 22:28:56 [D] urllib3.connectionpool : https://api.hotstar.com:443 "GET /o/v1/movie/detail?contentId=1271275607 HTTP/1.1" 200 4482
2024-04-04 22:28:56 [I] Titles : Title: Wish
2024-04-04 22:28:56 [I] HS : Getting tracks for Wish (2023) [1271275607]
2024-04-04 22:28:57 [D] urllib3.connectionpool : https://api.hotstar.com:443 "POST /play/v4/playback/content/1271275607?desired-config=audio_channel%3Astereo%7Ccontainer%3Afmp4%7 Cdynamic_range%3Asdr%7Cencryption%3Awidevine%7Clad der%3Atv%7Cpackage%3Adash%7Cresolution%3Afhd%7Cvid eo_codec%3Ah264&device-id=.....dd&ttl=1800&type=paid HTTP/1.1" 404 193
2024-04-04 22:28:57 [D] HS : Traceback (most recent call last):
File "U:\Hotstar\vinetrimmer\commands\dl.py", line 287, in result
title.tracks.add(service.get_tracks(title), warn_only=True)
File "U:\Hotstar\vinetrimmer\services\hotstar.py", line 140, in get_tracks
r = self.session.post(
File "U:\Hotstar\.venv\lib\site-packages\requests\sessions.py", line 637, in post
return self.request("POST", url, data=data, json=json, **kwargs)
File "U:\Hotstar\.venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "U:\Hotstar\.venv\lib\site-packages\requests\sessions.py", line 710, in send
r = dispatch_hook("response", hooks, r, **kwargs)
File "U:\Hotstar\.venv\lib\site-packages\requests\hooks.py", line 30, in dispatch_hook
_hook_data = hook(hook_data, **kwargs)
File "U:\Hotstar\vinetrimmer\services\BaseService.p y", line 99, in <lambda>
"response": lambda r, *_, **__: r.raise_for_status(),
File "U:\Hotstar\.venv\lib\site-packages\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.hotstar.com/play/v4/playback/content/1271275607?desired-config=audio_chann...1800&type=paid
2024-04-04 22:28:57 [C] HS : - HTTP Error 404: Not Found
+ Reply to Thread
Results 1 to 5 of 5
-
Last edited by gantz; 18th Apr 2024 at 14:02.
-
Try searching:
Code:api/internal/bff/v2/start
Code:success.page.spaces.player.widget_wrappers[0].widget.data.player_config.media_asset.content_urls[0]
Code:https://hses7.hotstar.com/videos/hotstarint/1271275607/v3/1711472466747/52c00cab79ea700623db005b11805403/master-e5c22d7f3d-1711632217964.mpd
-
Btw, it's so complicated finding their data, and that's why I quitted creating my own downloader.
-
@ CrymanChen
in Log show "HTTPError: 404 Client Error: Not Found for url: https://api.hotstar.com/play/v4/playback/content/1271275607?desired-config=audio_chann...1800&type=paid"
from script hotstar.py
url=self.config["endpoints"]["manifest"].format(id=title.service_data["contentId"]),
["endpoints"]["manifest"] = 'https://api.hotstar.com/play/v4/playback/content/{id}'
I think this url be changed
Similar Threads
-
Where to find license URL?
By Game_Trips in forum Video Streaming DownloadingReplies: 26Last Post: 9th Apr 2024, 14:23 -
help to find license URL
By TetianaBFM in forum Video Streaming DownloadingReplies: 6Last Post: 13th Jan 2024, 07:49 -
How to find wv license url
By juesus in forum Video Streaming DownloadingReplies: 4Last Post: 10th Aug 2022, 09:41 -
How to find the Download Url ?
By hasomaso in forum Video Streaming DownloadingReplies: 2Last Post: 26th Jun 2021, 13:17 -
How to find video URL
By Upeslacis in forum Video Streaming DownloadingReplies: 1Last Post: 8th Aug 2019, 18:38