Skip to content

Instantly share code, notes, and snippets.

@bigspawn
Last active April 28, 2024 12:18
Show Gist options
  • Star 35 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save bigspawn/8b9b685efb4ac4f5e6d490dc7113779b to your computer and use it in GitHub Desktop.
Save bigspawn/8b9b685efb4ac4f5e6d490dc7113779b to your computer and use it in GitHub Desktop.
How download video from facecast.net
  1. Go to the video url you want to download
  2. Open devtools into browser (ctrl+shift+i in firefox)
  3. Show the network tab
  4. Reload tab with video and look into devtools
  5. Find line with text 1080p.m3u8 and copy url (like: https://edge-7.facecast.net/secure/VgTub-XSFSFFSFSF/DFSDGDSGDSGGD-pyJiOPQ/34634636/4367546/235235/1080p.m3u8)

Devtools network

  1. Download and install Streamlink
  2. Open console and execute: streamlink hls://URL_FROM_STEP_5 best -o video1080p.ts
  3. Wait for downloading

UPDATE:

Thank's TuxNuX for information about livestreamer death. Use Streamlink

@wolfktl
Copy link

wolfktl commented Jul 6, 2019

Что-то они изменили в своем коде.. уже не работает((

@hofry
Copy link

hofry commented Sep 4, 2019

все работает, только надо запускать как
livestreamer "hlsvariant://http://url_to_stream" best -o video1080p.ts

@Kamerads
Copy link

[cli][info] Found matching plugin stream for URL hlsvariant:https://edge-9.facecast.net/secure/ch0tW0aI1hZB0bSBR06-GQ/LazT2IA9JbRvbCxgl9M99A/157ggg0195/2347588/32682/1080p.m3u8
Traceback (most recent call last):
File "/usr/local/bin/livestreamer", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 886, in main
handle_url()
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 471, in handle_url
streams = fetch_streams(plugin)
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 388, in fetch_streams
sorting_excludes=args.stream_sorting_excludes)
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugin/plugin.py", line 313, in get_streams
return self.streams(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugin/plugin.py", line 227, in streams
ostreams = self._get_streams()
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/stream.py", line 54, in _get_streams
urlnoproto = re.match("^\w+://(.+)", url).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

@TuxNuX
Copy link

TuxNuX commented Jan 23, 2020

[cli][info] Found matching plugin stream for URL hlsvariant:https://edge-9.facecast.net/secure/ch0tW0aI1hZB0bSBR06-GQ/LazT2IA9JbRvbCxgl9M99A/157ggg0195/2347588/32682/1080p.m3u8
Traceback (most recent call last):
File "/usr/local/bin/livestreamer", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 886, in main
handle_url()
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 471, in handle_url
streams = fetch_streams(plugin)
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 388, in fetch_streams
sorting_excludes=args.stream_sorting_excludes)
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugin/plugin.py", line 313, in get_streams
return self.streams(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugin/plugin.py", line 227, in streams
ostreams = self._get_streams()
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/stream.py", line 54, in _get_streams
urlnoproto = re.match("^\w+://(.+)", url).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

livestreamer is dead now be Streamlink

@bigspawn
Copy link
Author

[cli][info] Found matching plugin stream for URL hlsvariant:https://edge-9.facecast.net/secure/ch0tW0aI1hZB0bSBR06-GQ/LazT2IA9JbRvbCxgl9M99A/157ggg0195/2347588/32682/1080p.m3u8
Traceback (most recent call last):
File "/usr/local/bin/livestreamer", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 886, in main
handle_url()
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 471, in handle_url
streams = fetch_streams(plugin)
File "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 388, in fetch_streams
sorting_excludes=args.stream_sorting_excludes)
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugin/plugin.py", line 313, in get_streams
return self.streams(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugin/plugin.py", line 227, in streams
ostreams = self._get_streams()
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/stream.py", line 54, in _get_streams
urlnoproto = re.match("^\w+://(.+)", url).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

livestreamer is dead now be Streamlink

Thank's!

@gnklv
Copy link

gnklv commented May 30, 2020

Thanks a lot 👍
It works

@gjf
Copy link

gjf commented Jun 10, 2020

It works, but the command line should be:
streamlink hls://exx-ll.facecast.net/public/435118518.m3u8?_=1591618686 best -o Video.ts
It means no need to put http;//

@MrRamonBenitez
Copy link

все работает, только надо запускать как
livestreamer "hlsvariant://http://url_to_stream" best -o video1080p.ts

А хде будет выгруженный файл?))

@MrRamonBenitez
Copy link

все работает, только надо запускать как
livestreamer "hlsvariant://http://url_to_stream" best -o video1080p.ts

И звуковой дорожки нет(((

@topk36
Copy link

topk36 commented Jul 2, 2021

It works, but the command line should be:
streamlink hls://exx-ll.facecast.net/public/435118518.m3u8?_=1591618686 best -o Video.ts
It means no need to put http;//

Yeah! It's work

@Tox4ch
Copy link

Tox4ch commented Feb 2, 2022

Hello!
For some reason, when I download the file I get 6 hours, but the broadcast goes for 12 hours. Does anyone know how to fix it?

@ClubHellFire
Copy link

ClubHellFire commented Jul 9, 2022

Hii, someone can teach me how to download privates in buzzcast?

@NaziraNarkulova
Copy link

NaziraNarkulova commented Jan 8, 2024

is there any option not to dowloand 1080p but a little worse in quality ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment