Skip to content
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

Open
Peterspapan opened this issue Sep 9, 2017 · 3 comments
Open

403: client error forbidden. Does someone have a solution? #1626

Peterspapan opened this issue Sep 9, 2017 · 3 comments

Comments

@Peterspapan
Copy link

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!

@cdrage
Copy link

cdrage commented Sep 12, 2017

@Peterspapan

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

@scottbernstein-zz
Copy link

scottbernstein-zz commented Sep 12, 2017 via email

@Peterspapan
Copy link
Author

Peterspapan commented Sep 12, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants