hi guys im new here
I have a problem downloading this video
I get this error
HTTP error 403 Forbidden - Bad Token!!!
this is the link to the site
PHP Code:
http://hakolkalul.nana10.co.il/Article/?ArticleID=1184319
PHP Code:
>
>ffmpeg -i "http://nana10-hdv-il.ctedgecdn.net/Nana10-Vod/_definst_/amlst:mediaroot/nana10/media/iiscdn/2016/04/kalul130416full_,500,700,1000,1400,1800,.mp4/playlist.m3u8?ctoken=0703cd7872297fad6dfa08bc17ea4ae7a18832dddb26124d39e889082b3c6954" -c copy kalul130416full.ts
[url=http://www.videohelp.com/software/ffmpeg]ffmpeg[/url] version N-76539-g480bad7 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 5.100 / 55. 5.100
libavcodec 57. 15.100 / 57. 15.100
libavformat 57. 14.100 / 57. 14.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 15.100 / 6. 15.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[http @ 050f61c0] HTTP error 403 Forbidden - Bad Token!!!
[url]http://nana10-hdv-il.ctedgecdn.net/Nana10-Vod/_definst_/amlst:mediaroot/nana10/media/iiscdn/2016/04/kalul130416full_,500,700,1000,1400,1800,.mp4/playlist.m3u8?ctoken=0703cd7872297fad6dfa08bc17ea4ae7a18832dddb26124d39e889082b3c6954:[/url] Server returned 403 Forbidden (access denied)
>
any help will be appreciated![]()
+ Reply to Thread
Results 1 to 12 of 12
-
-
Thanks I promise i will try livestreamer and youtube-dl
But before i try i really want to know if there is a way with ffmpeg -
Hi tom-vin ,
The issue is with the ctoken , unknown by ffmpeg .
Livestreamer works very well .
Example , you have to write the end of the link .
Code:livestreamer "hlsvariant://http://nana10-hdv-uk.ctedgecdn.net/Nana10-Vod/_definst_/amlst:mediaroot/nana10/media/iiscdn/2016/04/kalul130416full_,500,700,1000,1400,1800,.mp4/playlist.m3u8?..." best
JE SUIS CHARLIE !!! -
I tried and still
Bad Token
PHP Code:>>
>livestreamer "hlsvariant://http://nana10-hdv-il.ctedgecdn.net/Nana10-Vod/_definst_/amlst:mediaroot/nana10/media/iiscdn/2016/04/kalul140416fulll_,500,700,1000,1400,1800,.mp4/playlist.m3u8?ctoken=28ced7911f66570cd0455f2a0e630ba2cfef0a50ee0bc602e19639eaaa268881" best -o 1111.ts
[cli][info] Found matching plugin stream for URL hlsvariant://http://nana10-hdv-il.ctedgecdn.net/Nana10-Vod/_definst_/amlst:mediaroot/nana10/media/iiscdn/2016/04/kalul140416fulll_,500,700,1000,1400,1800,.mp4/playlist.m3u8?ctoken=28ced7911f66570cd0455f2a0e630ba2cfef0a50ee0bc602e19639eaaa268881
error: Unable to open URL: http://nana10-hdv-il.ctedgecdn.net/Nana10-Vod/_definst_/amlst:mediaroot/nana10/media/iiscdn/2016/04/kalul140416fulll_,500,700,1000,1400,1800,.mp4/playlist.m3u8?ctoken=28ced7911f66570cd0455f2a0e630ba2cfef0a50ee0bc602e19639eaaa268881 (403 Client Error: Forbidden - Bad Token!!!)
Last edited by tom-vin; 14th Apr 2016 at 12:27.
-
livestreamer works correctly. the token must have expired, request a new one.
IDM also works if the video is played from the direct cast time webpage:
http://vod.ch10.cloudvideoplatform.com/?UserId=45E4A9FB-FCE8-88BF-93CC-3650C39DDF28&GroupId=1036449 -
Are you including all of the parameters, including ctoken, str and exp?
h..p://nana10-hdv-uk.ctedgecdn.net/Nana10-Vod/_definst_/amlst:mediaroot/nana10/media/iiscdn/2016/04/kalul130416full_,500,700,1000,1400,1800,.mp4/playlist.m3u8?ctoken=0e7f28b8b545585e2031630c8ecd29143e11c16021d50bc89 7e18d64d01bcaa7&str=1460750754&exp=1460751954
Get new ctoken, str, exp values:
Code:http://vod.ch10.cloudvideoplatform.com/api/getlink/getflash?showID=1036449&userID=45E4A9FB-FCE8-88BF-93CC-3650C39DDF28
-
from my experience of several other sites you only need until the end of the ctoken code.
but of course i tried the full parameters ctoken, str and exp
i tried couple of times because it really bugs me why it doesn't work so i tried everything.
about the idm it doesn't work for me yet i really hope there's another way -
Well in the case of this particular cdn provider (Cast Time) I have verified that all three parameters (ctoken, str and exp) are required or else the hls playlist/manifest will not download. Cookies must also be fully supported. Livestreamer and IDM support them. ffmpeg is much more limited in its support of cookies.
You can also test the m3u8 playlist/manifest at https://www.hlsplayer.net/ (flash required).
Without all three parameters being present and unexpired, the playlist/manifest will not download (token error) and the video will not play.
I have no other ideas, sorry. -
OMG I dont understand (maybe you were right and the token expired)
i tried again for the last time using Livestreamer
and it's works
thanks for all the help
this is the code i used
PHP Code:
livestreamer "hlsvariant://http://nana10-hdv-il.ctedgecdn.net/Nana10-Vod/_definst_/amlst:mediaroot/nana10/media/iiscdn/2016/04/zinor140416full_,500,700,1000,1400,1800,.mp4/playlist.m3u8?ctoken=a78819d97c46a9ee7a820903c21f39cd25251924faa270597df7106f3759f8f0&str=1460811033&exp=1460812233" best -o 1111.ts
Similar Threads
-
Need help with ffmpeg "HTTP error 403 Forbidden"
By beo59 in forum Video Streaming DownloadingReplies: 11Last Post: 20th Feb 2018, 16:31 -
FFMpeg HTTP error 403 Forbidden with akamaihd.net
By theshaft in forum Video Streaming DownloadingReplies: 2Last Post: 24th Jan 2016, 19:43 -
"403 Client error: Access denied" problem
By ekekezz in forum Video Streaming DownloadingReplies: 2Last Post: 31st Jul 2015, 18:28 -
FFMPEG HTTP Error 403 Forbidden for M3U8
By dmpiq in forum Video Streaming DownloadingReplies: 7Last Post: 23rd Jul 2014, 21:03 -
HLS stream capture with ffmpeg not working. HTTP 403 Forbidden error.
By BlueBlack in forum Video Streaming DownloadingReplies: 5Last Post: 22nd Apr 2014, 19:08