Hello. I need to download a video from this url https://dvridtvla-a.akamaihd.net/dvr/cab8c94d-8fd4-483c-85cb-76aace25c919/8af5586d-5fc...ack=audio_und) (also works adding .m3u8 at the end, at least to play it in chrome with this addon) that I got from this link https://www.directvsports.com/player/replay/inter-juventus, but I can't do it even using youtube-dl.
I used these codes, but none worked:
Code:ffmpeg -ss 01:18:00.00 -i "https://dvridtvla-a.akamaihd.net/dvr/cab8c94d-8fd4-483c-85cb-76aace25c919/8af5586d-5fcc-4a14-b70f-12674e17d17a.ism/QualityLevels(5000000)/Manifest(video,format=m3u8-aapl-v3,audiotrack=audio_und)" -to 01:19:30.00 -c copy out.mp4
[Attachment 57159 - Click to enlarge]
Code:ffmpeg -ss 01:18:00.00 -referer "https://www.directvsports.com/" -i "https://dvridtvla-a.akamaihd.net/dvr/cab8c94d-8fd4-483c-85cb-76aace25c919/8af5586d-5fcc-4a14-b70f-12674e17d17a.ism/QualityLevels(5000000)/Manifest(video,format=m3u8-aapl-v3,audiotrack=audio_und)" -to 01:19:30.00 -c copy out.mp4
[Attachment 57160 - Click to enlarge]
Code:youtube-dl "https://dvridtvla-a.akamaihd.net/dvr/cab8c94d-8fd4-483c-85cb-76aace25c919/8af5586d-5fcc-4a14-b70f-12674e17d17a.ism/QualityLevels(5000000)/Manifest(video,format=m3u8-aapl-v3,audiotrack=audio_und)" --no-part -o output.mp4
[Attachment 57161 - Click to enlarge]
Code:youtube-dl --referer "https://www.directvsports.com/" https://dvridtvla-a.akamaihd.net/dvr/cab8c94d-8fd4-483c-85cb-76aace25c919/8af5586d-5fcc-4a14-b70f-12674e17d17a.ism/QualityLevels(5000000)/Manifest(video,format=m3u8-aapl-v3,audiotrack=audio_und) --no-part -o output.mp4
[Attachment 57162 - Click to enlarge]
Code:youtube-dl -f --referer "https://www.directvsports.com/" https://dvridtvla-a.akamaihd.net/dvr/cab8c94d-8fd4-483c-85cb-76aace25c919/8af5586d-5fcc-4a14-b70f-12674e17d17a.ism/QualityLevels(5000000)/Manifest(video,format=m3u8-aapl-v3,audiotrack=audio_und) --no-part -o output.mp4
[Attachment 57163 - Click to enlarge]
Adding m3u8 at the end didn't make any difference. The only way I can do it is using IDM, but the result is an 6GB video file and I just need to download some fragments (with ffmpeg is possible, but not in this case)
Anyone know how to download this type of url with ffmpeg?
PS: Sorry if my english is bad, and sorry for breaking the rules too 😅
+ Reply to Thread
Results 1 to 11 of 11
-
Last edited by lfer94; 4th Feb 2021 at 03:49.
-
ffmpeg -user_agent "xxxx" -headers "Cookie: xxxxx" -i "https://dvridtvla-a.akamaihd.net/dvr/cab8c94d-8fd4-483c-85cb-76aace25c919/8af5586d-5fcc-4a14-b70f-12674e17d17a.ism/manifest(format=m3u8-aapl-v3)?hdnea=st=1612439062~exp=1612439092~ip=131.255. 4.90~acl=/*~hmac=FCB7BF834AC38CDC37A60EB84F47C7045BA6BD9F676 AD04CC5E7EB524A6BA841&udnea=NjBjY2MwMjc0MzAwODIxOT BhMDBiYjBlM2Y2NjBkZTNjOWMyMzc0Yg==" -c copy video.ts
-
I tried this:
ffmpeg -user_agent "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36" -headers "Cookie: hdntl=exp=1612506849~acl=^%^2f*~data=hdntl~hmac=99 b5534b57f2402f1f98c97b64b46d8aa260b0a387ee05a8eb90 44f1893096e1" -i "https://dvridtvla-a.akamaihd.net/dvr/cab8c94d-8fd4-483c-85cb-76aace25c919/8af5586d-5fcc-4a14-b70f-12674e17d17a.ism/manifest(format=m3u8-aapl-v3)?hdnea=st=1612440179~exp=1612440209~ip=181.111. 21.106~acl=/*~hmac=AACB1148F9D29A6405885F67E07D93626261162D157 CEE17D25168A084800E15&udnea=OWE0ZmViMDgzODUyMWJmZW E3ZTRlYWE3MWQwMjI1MDUzNzBhYTlmYQ==" -c copy video.ts
But appears the same error:
[Attachment 57168 - Click to enlarge]
Maybe because I did something wrongLast edited by lfer94; 4th Feb 2021 at 07:01.
-
Try this:
youtube-dl --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36" --add-header "Cookie: hdntl=exp=1612525348~acl=%2f*~data=hdntl~hmac=5f96 05510ff8ad0aa85d17285d404dc475a92d5aa7581cef9e1a18 bb4f34a6e4" --hls-prefer-native "https://dvridtvla-a.akamaihd.net/dvr/cab8c94d-8fd4-483c-85cb-76aace25c919/8af5586d-5fcc-4a14-b70f-12674e17d17a.ism/manifest(format=m3u8-aapl-v3)?hdnea=st=1612457601~exp=1612457631~ip=131.255. 4.112~acl=/*~hmac=3ECC7F006C7A45033376B1E02F00422F066E4658C2E E5D9208B885C0F072981C&udnea=NjBjY2MwMjc0MzAwODIxOT BhMDBiYjBlM2Y2NjBkZTNjOWMyMzc0Yg=="
[generic] *~hmac=3ECC7F006C7A45033376B1E02F00422F066E4658C2E E5D9208B885C0F072981C&udnea=NjBjY2MwMjc0MzAwODIxOT BhMDBiYjBlM2Y2NjBkZTNjOWMyMzc0Yg==: Requesting header
[generic] *~hmac=3ECC7F006C7A45033376B1E02F00422F066E4658C2E E5D9208B885C0F072981C&udnea=NjBjY2MwMjc0MzAwODIxOT BhMDBiYjBlM2Y2NjBkZTNjOWMyMzc0Yg==: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1498
[download] Destination: manifest(format=m3u8-aapl-v3)-_~hmac=3ECC7F006C7A45033376B1E02F00422F066E4658C2E E5D9208B885C0F072981C&udnea=NjBjY2MwMjc0MzAwODIxOT BhMDBiYjBlM2Y2NjBkZTNjOWMyMzc0Yg==.mp4
[download] 0.3% of ~5.07GiB at 396.52KiB/s ETA 04:27:33.... -
Sorry for the delay. I don't know why, but didn't worked. Even after update youtube-dl:
youtube-dl --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36" --add-header "Cookie: hdntl=exp=1612506849~acl=%2f*~data=hdntl~hmac=99b5 534b57f2402f1f98c97b64b46d8aa260b0a387ee05a8eb904 4f1893096e1" --hls-prefer-native "https://dvridtvla-a.akamaihd.net/dvr/cab8c94d-8fd4-483c-85cb-76aace25c919/8af5586d-5fcc-4a14-b70f-12674e17d17a.ism/manifest(format=m3u8-aapl-v3)?hdnea=st=1612474800~exp=1612474830~ip=181.111. 21.106~acl=/*~hmac=729896FB5181DDECA5C0281611CF270AE2FDD9F191E F3F5F405DA7B5D33FFA0F&udnea=OWE0ZmViMDgzODUyMWJmZW E3ZTRlYWE3MWQwMjI1MDUzNzBhYTlmYQ=="
[generic] *~hmac=729896FB5181DDECA5C0281611CF270AE2FDD9F191E F3F5F405DA7B5D33FFA0F&udnea=OWE0ZmViMDgz
ODUyMWJmZWE3ZTRlYWE3MWQwMjI1MDUzNzBhYTlmYQ==: Requesting header
WARNING: Could not send HEAD request to https://dvridtvla-a.akamaihd.net/dvr/cab8c94d-8fd4-483c-85cb-76aace25c919/8af5586d-5fc...zNzBhYTlmYQ==: HTTP Error 403: Forbidden
[generic] *~hmac=729896FB5181DDECA5C0281611CF270AE2FDD9F191E F3F5F405DA7B5D33FFA0F&udnea=OWE0ZmViMDgzODUyMWJmZW E3ZTRlYWE3MWQwMjI1MDUzNzBhYTlmYQ==: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. -
UPDATE: I found a solution for "HTTP Error 403: Forbidden" on this reddit thread.
After clearing the youtube-dl cache files using
Code:youtube-dl --rm-cache-dir
I tried these command line arguments again
And both worked perfectly. Thank you again, LZAA.
Similar Threads
-
m3u8 Video Download with FFMPEG -GUI?
By Clemens Ratte-Polle in forum Video Streaming DownloadingReplies: 2Last Post: 24th Feb 2019, 23:21 -
m3u8 and ffmpeg
By Chac in forum Video Streaming DownloadingReplies: 8Last Post: 17th Sep 2018, 11:47 -
FFMPEG can not download m3u8 video. Error 403 (access denied)
By goken12 in forum Video Streaming DownloadingReplies: 9Last Post: 1st Jun 2018, 19:18 -
Help to Download M3U8 Url video faster on ffmpeg
By massafera in forum Video Streaming DownloadingReplies: 0Last Post: 26th May 2016, 10:45 -
FFmpeg m3u8 and LP
By snape89 in forum Video Streaming DownloadingReplies: 3Last Post: 24th Feb 2016, 17:30