I’m trying to download a video from Anime.Nexus. It uses an .m3u8 stream, and I think it doesn’t have DRM.
I tried using yt-dlp with custom headers and browser cookies, but... yeah, it didn’t work. I even asked ChatGPT, but it couldn’t really help either
If anyone has a bit of time and could explain how to do it I’d really appreciate it.
Site: anime.nexus
Example video: https://anime.nexus/watch/998f4f0c-cbbb-4f1d-bb45-6dea4e93f00b
Thanks in advance
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 4 of 4
-
-
They're opening a Socket.IO connection (via WebSocket) to request tokens for the HLS playlists and each fragment that expire within 1-5 minutes. None of the Socket.IO libraries I tried work and building a parser for these messages is a pain (I was able to connect using a raw WebSocket on Node.JS and C#)
Bypass HMACs, One-time-tokens and Lic.Wrapping: https://github.com/DevLARLEY/WidevineProxy2 -
1. Audio
yt-dlp --add-header "X-Client-Fingerprint:ec457cee-db50-4b6a-b274-e862d0e98a87" --extractor-args "generic:fragment_query" "https://video.anime.delivery/anime/streams/64c/46b/d57/64c46bd574d30808742981.mkv_5300-0.m3u8?token=1745267410_a9f57d3673488343bef5a3bf60 af6e52edb8a749&requestType=manifest&sessionId=anon _b195222a-cb68-4645-956f-d08764792890" -o audio.mp4
2. Video
yt-dlp --add-header "X-Client-Fingerprint:ec457cee-db50-4b6a-b274-e862d0e98a87" --extractor-args "generic:fragment_query" "https://video.anime.delivery/anime/streams/64c/46b/d57/64c46bd574d30808742981.mkv_5300-1.m3u8?token=1745267410_a9f57d3673488343bef5a3bf60 af6e52edb8a749&requestType=manifest&sessionId=anon _b195222a-cb68-4645-956f-d08764792890" -o video.mp4
3. Merge
ffmpeg -i video.mp4 -i audio.mp4 -c copy Name.mp4 -
Like LZAA did, you can just copy any non-master HLS URL from the browser and download it within 5 minutes. This works because tokens for the playlist are also reusable for fragments. Even though they send the fragment URL in a token request, they don't verify whether it actually belongs to a fragment or just a manifest whose token will last 5 minutes instead of less than one.
Code:N_m3u8DL-RE "<URL>" -H "X-Client-Fingerprint: e3e6609c-b319-4b86-93f9-4fff766c8089" --append-url-params
Bypass HMACs, One-time-tokens and Lic.Wrapping: https://github.com/DevLARLEY/WidevineProxy2
Similar Threads
-
Downloading DRM video from Now TV
By Chinwonder2 in forum Video Streaming DownloadingReplies: 4Last Post: 10th Feb 2024, 02:58 -
How to get key from drm m3u8 video please help ?
By kartik in forum Video Streaming DownloadingReplies: 19Last Post: 19th Aug 2023, 05:29 -
How to decrypt FairPlay DRM video (M3U8)
By tramuzat in forum Video Streaming DownloadingReplies: 5Last Post: 20th Feb 2023, 08:04 -
restreaming to non-drm m3u8 from drm mpd
By grabyea in forum Video Streaming DownloadingReplies: 1Last Post: 8th Aug 2022, 00:35 -
download drm protected m3u8 video
By gentle_v in forum Video Streaming DownloadingReplies: 3Last Post: 16th Jan 2021, 05:24