hello, i can't understand why the following command:
works perfectly under windows, but gives me 403 error under linux (obviously tools are same versions).Code:N_m3u8DL-RE <amzn-mpd-url> -H <various-headers> --key <key1> --key <key2> --key <key3> --use-shaka-packager -M format=mkv
note: command is generated by WidevineProxy2 firefox addon.
thanks for help.
+ Reply to Thread
Results 1 to 8 of 8
-
-
Did you copy the command from Windows to your Linux console? Or did you generate the command on the same Linux machine where you used it? I guess it's a mismatch in headers and ip address used (just a guess).
-
thank you for reply.
tried in several ways: 1) generate on windows and paste it into wsl does not work; 2) generate on linux and paste into terminal does not work; 3) generate on windows and paste into command prompt does work. -
Personal experience: when I download from WidevineProxy2 addon firefox, in the Linux terminal i add "./" so the command becomes "./N_m3u8DL-RE ......." otherwise it won't download. Try it...
-
-
sure.
following is linux generated (gives 403 forbidden error):
and the following is windows generated (working):Code:N_m3u8DL-RE "https://***file.mpd?parameters" -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0" -H "Accept: */*" -H "Referer: https://www.p****video.com/" -H "Origin: https://www.p****video.com" --key ***:*** --key ***:*** --key ***:*** --use-shaka-packager -M format=mkv
Code:N_m3u8DL-RE "https://***file.mpd?parameters" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:153.0) Gecko/20100101 Firefox/153.0" -H "Accept: */*" -H "Referer: https://www.p****video.com/" -H "Origin: https://www.p****video.com" --key ***:*** --key ***:*** --key ***:*** --use-shaka-packager -M format=mkv
-
SOLVED.
in linux MUST use single quote (') instead of double (") in main url, as:
I guess it's because special chars like & and ?Code:N_m3u8DL-RE 'https://***file.mpd?parameters' -H "User-Agent: Mozilla/5.0...
-
Yes, but & and ? don't have a special meaning within double quotes. It's more likely the $ that changed your command.
Similar Threads
-
any help with N_m3u8DL-RE
By Furky in forum Video Streaming DownloadingReplies: 4Last Post: 4th May 2026, 05:04 -
N_m3u8DL-RE Installation Guide for Mac, Linux and Windows 10/11 - 2026
By premajee in forum Video Streaming DownloadingReplies: 0Last Post: 1st Feb 2026, 14:31 -
need help with N_m3u8dl-re
By monk87 in forum Video Streaming DownloadingReplies: 5Last Post: 22nd Nov 2024, 05:58 -
[Linux] Compiling N_m3u8DL-RE with DOTNET - Killed
By pssh in forum LinuxReplies: 2Last Post: 7th Jul 2024, 16:41 -
[LINUX] can ffmpeg (or any othe linux command) genere an ANIMATED waveform
By Jintor_Universe in forum ProgrammingReplies: 5Last Post: 28th Oct 2021, 19:29


Quote