-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
403: client error forbidden. Does someone have a solution? #1626
Comments
This is a friendly reminder that livestreamer has been abandoned by @chrippa Please use the fork of livestreamer called streamlink located here: https://github.com/streamlink/streamlink |
Note that a 403 error usually means that you are indeed hitting a timeout/expiration issue.
…________________________________
From: Peterspapan <notifications@github.com>
Sent: Saturday, September 9, 2017 1:47 PM
To: chrippa/livestreamer
Cc: Subscribed
Subject: [chrippa/livestreamer] 403: client error forbidden. Does someone have a solution? (#1626)
Dear community,
I have spent the whole day struggling for a solution to download a HLS stream. I have so far tried several tools with very limited success. I have read other posts about similar issues but the proposed solutions were of no help.
OK to put it short here is the URL of a video I want to download :
http://watchers.to/n1l0yov6tl6z.html
I was first using FireFfox (on win7) with the add-on "HLS playlist detector" installed and working. I have configured the add on to retrieve the play list in the proper format.
HLS detects 2 playlists. Here are the commands:
"D:\Video\Livestreamer\livestreamer.exe" --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" --http-cookie "lang=1; _ga=GA1.2.702294065.1504901079; _gid=GA1.2.151708328.1504901079" -o "C:\Users\Peter Spa Pan\Downloads\master.ts" "hls://http://file26.watchers.to/hls/,f4c6lo34s2krkhrbon2p3anzqdzb3pjjcttgnbjnh4hyi3buqp7k3blarhoa,.urlset/master.m3u8" best
and
"D:\Video\Livestreamer\livestreamer.exe" --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" --http-cookie "lang=1; _ga=GA1.2.702294065.1504901079; _gid=GA1.2.151708328.1504901079" -o "C:\Users\Peter Spa Pan\Downloads\index-v1-a1.ts" "hls://http://file26.watchers.to/hls/f4c6lo34s2krkhrbon2p3anzqdzb3pjjcttgnbjnh4hyi3buqp7k3blarhoa/index-v1-a1.m3u8" best
The file "index-v1-a1.m3u8" points to the individual chucks with the following format
#EXTM3U
#EXT-X-TARGETDURATION:20
#EXT-X-ALLOW-CACHE:YES
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:22.417,
http://file26.watchers.to/hls/f4c6lo34s2krkhrbon2p3anzqdzb3pjjcttgnbjnh4hyi3buqp7b743arhoa/seg-1-v1-a1.ts
#EXTINF:22.250,
http://file26.watchers.to/hls/f4c6lo34s2krkhrbon2p3anzqdzb3pjjcttgnbjnh4hyi3buqp7b743arhoa/seg-2-v1-a1.ts
#EXTINF:18.167,
http://file26.watchers.to/hls/f4c6lo34s2krkhrbon2p3anzqdzb3pjjcttgnbjnh4hyi3buqp7b743arhoa/seg-3-v1-a1.ts
#EXTINF:18.667, ....................etc.....
BUT. There is no way to move Livestreamer to download the stream. Always the same answer 403. Forbidden
Imho it has to do with the timestamps in the cookies, but Livestreamer is supposed to send the appropriate information the the server.
I would appreciate any hint leading toward a solution. Thank you, guys!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#1626>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AESJ1q4CNsYshw55fJvZa4--ffTAWtffks5sgs9JgaJpZM4PSEPc>.
|
Thank you. I have spent a couple of hours checking the access protocols and
I come now to the conclusion that referrer, cookies and the user-agent play
a big role in the acceptance of a download request. If there is a flaw in
the nature of headers and/or timings you haven't access. If your browser
can download the stream you need livestream to mimick perfectly the
behaviour of the browser. Otherwise finito 403. Fortunately the mentioned
server also stored the movie as a more conventional stream, no chunks, and
it was therefore easier to download it with a common download manager.
…On 12 Sep 2017 8:46 p.m., "scottbernstein" ***@***.***> wrote:
Note that a 403 error usually means that you are indeed hitting a
timeout/expiration issue.
________________________________
From: Peterspapan ***@***.***>
Sent: Saturday, September 9, 2017 1:47 PM
To: chrippa/livestreamer
Cc: Subscribed
Subject: [chrippa/livestreamer] 403: client error forbidden. Does someone
have a solution? (#1626)
Dear community,
I have spent the whole day struggling for a solution to download a HLS
stream. I have so far tried several tools with very limited success. I have
read other posts about similar issues but the proposed solutions were of no
help.
OK to put it short here is the URL of a video I want to download :
http://watchers.to/n1l0yov6tl6z.html
I was first using FireFfox (on win7) with the add-on "HLS playlist
detector" installed and working. I have configured the add on to retrieve
the play list in the proper format.
HLS detects 2 playlists. Here are the commands:
"D:\Video\Livestreamer\livestreamer.exe" --http-header
"User-Agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:54.0)
Gecko/20100101 Firefox/54.0" --http-cookie "lang=1; _ga=GA1.2.702294065.1504901079;
_gid=GA1.2.151708328.1504901079" -o "C:\Users\Peter Spa
Pan\Downloads\master.ts" "hls://http://file26.watchers.to/hls/,
f4c6lo34s2krkhrbon2p3anzqdzb3pjjcttgnbjnh4hyi3buqp7k3blarhoa
,.urlset/master.m3u8" best
and
"D:\Video\Livestreamer\livestreamer.exe" --http-header
"User-Agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:54.0)
Gecko/20100101 Firefox/54.0" --http-cookie "lang=1; _ga=GA1.2.702294065.1504901079;
_gid=GA1.2.151708328.1504901079" -o "C:\Users\Peter Spa
Pan\Downloads\index-v1-a1.ts" "hls://http://file26.watchers.to/hls/
f4c6lo34s2krkhrbon2p3anzqdzb3pjjcttgnbjnh4hyi3buqp7k3blarhoa
/index-v1-a1.m3u8" best
The file "index-v1-a1.m3u8" points to the individual chucks with the
following format
#EXTM3U
#EXT-X-TARGETDURATION:20
#EXT-X-ALLOW-CACHE:YES
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:22.417,
http://file26.watchers.to/hls/f4c6lo34s2krkhrbon2p3anzqdzb3p
jjcttgnbjnh4hyi3buqp7b743arhoa/seg-1-v1-a1.ts
#EXTINF:22.250,
http://file26.watchers.to/hls/f4c6lo34s2krkhrbon2p3anzqdzb3p
jjcttgnbjnh4hyi3buqp7b743arhoa/seg-2-v1-a1.ts
#EXTINF:18.167,
http://file26.watchers.to/hls/f4c6lo34s2krkhrbon2p3anzqdzb3p
jjcttgnbjnh4hyi3buqp7b743arhoa/seg-3-v1-a1.ts
#EXTINF:18.667, ....................etc.....
BUT. There is no way to move Livestreamer to download the stream. Always
the same answer 403. Forbidden
Imho it has to do with the timestamps in the cookies, but Livestreamer is
supposed to send the appropriate information the the server.
I would appreciate any hint leading toward a solution. Thank you, guys!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/
chrippa/livestreamer#1626>, or mute the thread<https://github.com/
notifications/unsubscribe-auth/AESJ1q4CNsYshw55fJvZa4--
ffTAWtffks5sgs9JgaJpZM4PSEPc>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1626 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AX6vIVhkSQoej2pODU05OwaG9PgcElP8ks5shtGagaJpZM4PSEPc>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear community,
I have spent the whole day struggling for a solution to download a HLS stream. I have so far tried several tools with very limited success. I have read other posts about similar issues but the proposed solutions were of no help.
OK to put it short here is the URL of a video I want to download :
http://watchers.to/n1l0yov6tl6z.html
I was first using FireFfox (on win7) with the add-on "HLS playlist detector" installed and working. I have configured the add on to retrieve the play list in the proper format.
HLS detects 2 playlists. Here are the commands:
"D:\Video\Livestreamer\livestreamer.exe" --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" --http-cookie "lang=1; _ga=GA1.2.702294065.1504901079; _gid=GA1.2.151708328.1504901079" -o "C:\Users\Peter Spa Pan\Downloads\master.ts" "hls://http://file26.watchers.to/hls/,f4c6lo34s2krkhrbon2p3anzqdzb3pjjcttgnbjnh4hyi3buqp7k3blarhoa,.urlset/master.m3u8" best
and
"D:\Video\Livestreamer\livestreamer.exe" --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" --http-cookie "lang=1; _ga=GA1.2.702294065.1504901079; _gid=GA1.2.151708328.1504901079" -o "C:\Users\Peter Spa Pan\Downloads\index-v1-a1.ts" "hls://http://file26.watchers.to/hls/f4c6lo34s2krkhrbon2p3anzqdzb3pjjcttgnbjnh4hyi3buqp7k3blarhoa/index-v1-a1.m3u8" best
The file "index-v1-a1.m3u8" points to the individual chucks with the following format
#EXTM3U
#EXT-X-TARGETDURATION:20
#EXT-X-ALLOW-CACHE:YES
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:22.417,
http://file26.watchers.to/hls/f4c6lo34s2krkhrbon2p3anzqdzb3pjjcttgnbjnh4hyi3buqp7b743arhoa/seg-1-v1-a1.ts
#EXTINF:22.250,
http://file26.watchers.to/hls/f4c6lo34s2krkhrbon2p3anzqdzb3pjjcttgnbjnh4hyi3buqp7b743arhoa/seg-2-v1-a1.ts
#EXTINF:18.167,
http://file26.watchers.to/hls/f4c6lo34s2krkhrbon2p3anzqdzb3pjjcttgnbjnh4hyi3buqp7b743arhoa/seg-3-v1-a1.ts
#EXTINF:18.667, ....................etc.....
BUT. There is no way to move Livestreamer to download the stream. Always the same answer 403. Forbidden
Imho it has to do with the timestamps in the cookies, but Livestreamer is supposed to send the appropriate information the the server.
I would appreciate any hint leading toward a solution. Thank you, guys!
The text was updated successfully, but these errors were encountered: