# \[SOLVED\] How to Download on going live youtube videos

**URL:** <https://onehack.st/t/solved-how-to-download-on-going-live-youtube-videos/62949>\
**Category:** Discussion & Solutions\
**Tags:** solved\
**Created:** [December 2, 2019, 8:56am UTC](https://onehack.st/t/solved-how-to-download-on-going-live-youtube-videos/62949 "2019-12-02T08:56:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suraj\_Matkar](https://onehack.st/user_avatar/onehack.st/suraj_matkar/32/27667_2.png) [@Suraj\_Matkar](https://onehack.st/u/Suraj_Matkar)\
**Post date:** [December 2, 2019, 8:56am UTC](https://onehack.st/t/solved-how-to-download-on-going-live-youtube-videos/62949/1 "2019-12-02T08:56:51Z")

</div>

[https://www.youtube.com/watch?v=hHW1oY26kxQ](https://www.youtube.com/watch?v=hHW1oY26kxQ) ( live video link)

Is it possible to download an ongoing live video which is streaming on youtube?  
The live video link is mentioned on the top.

---

<div class="post-metadata">

**Author:** ![trexoftsys](https://onehack.st/user_avatar/onehack.st/trexoftsys/32/13674_2.png) [@trexoftsys](https://onehack.st/u/trexoftsys)\
**Post date:** [December 2, 2019, 9:39am UTC](https://onehack.st/t/solved-how-to-download-on-going-live-youtube-videos/62949/2 "2019-12-02T09:39:33Z")

</div>

Yes, it’s possible. Note that the below process I’m going to describe is for downloading both video & audio _(if you only want to download the audio from the live stream, you can do that by recording your computer audio device using [Audacity](https://www.audacityteam.org/))_

* * *

**1]** For the whole process to work, you will have to make sure you have Python installed (you can [download the latest release here](https://www.python.org/downloads/release/python-380/))

**2]** After you installed Python, you have to install the PIP tool by using the following command:

`py -3 -m ensurepip`

**3]** Now you have to install the YT downloader tool called “[streamlink](https://streamlink.github.io/)” by using the following PIP command:

`pip install streamlink`

**4]** Now change the current working directory in the terminal to the path where you want to download the file:

Windows: `cd c:\users\YourUserName\downloads`  
Mac/Unix: `cd /Users/YourUserName/downloads`  
Linux: `cd /home/YourUserName/downloads`

**5]** And finally, to download a live YT video stream type the following command (the below command is specific for the video link you provided)

`streamlink --hls-live-edge 99999 --hls-segment-threads 5 -o "video.mp4" https://www.youtube.com/watch?v=hHW1oY26kxQ best`

**6]** You will see the tool streaming the video to your hard drive. Since it’s an ongoing stream, it will probably never end, so when you think you’ve downloaded enough you can stop the process by hitting CTRL+C and your file will be ready.

Below is an example output of this command that downloaded 24 sec. / 178 MB of live stream:

 ![48](https://onehack.st/uploads/default/original/3X/8/6/86e7ed54343e0ceef6a32ed073036bd2fab0adc5.jpeg)

* * *

_[WARNING: this tool and the above command will download the best quality video, so make sure you have enough hard drive space for it]_

---

<div class="post-metadata">

**Author:** ![Suraj\_Matkar](https://onehack.st/user_avatar/onehack.st/suraj_matkar/32/27667_2.png) [@Suraj\_Matkar](https://onehack.st/u/Suraj_Matkar)\
**Post date:** [December 2, 2019, 10:27am UTC](https://onehack.st/t/solved-how-to-download-on-going-live-youtube-videos/62949/3 "2019-12-02T10:27:37Z")

</div>

Hey buddy, thank you very much.  
You saved my ass big time.

---

<div class="post-metadata">

**Author:** ![JIBsasterous](https://onehack.st/user_avatar/onehack.st/jibsasterous/32/16004_2.png) [@JIBsasterous](https://onehack.st/u/JIBsasterous)\
**Post date:** [December 2, 2019, 12:36pm UTC](https://onehack.st/t/solved-how-to-download-on-going-live-youtube-videos/62949/4 "2019-12-02T12:36:01Z")

</div>

Awsome bro!

---

<div class="post-metadata">

**Author:** ![moses\_Dsk](https://onehack.st/letter_avatar_proxy/v4/letter/m/7ab992/32.png) [@moses\_Dsk](https://onehack.st/u/moses_Dsk)\
**Post date:** [December 2, 2019, 2:53pm UTC](https://onehack.st/t/solved-how-to-download-on-going-live-youtube-videos/62949/5 "2019-12-02T14:53:49Z")

</div>

> [@trexoftsys](#):
>
> streamlink --hls-live-edge 99999 --hls-segment-threads 5 -o “video.mp4” [https://www.youtube.com/watch?v=hHW1oY26kxQ](https://www.youtube.com/watch?v=hHW1oY26kxQ) best

 ![tempsnip](https://onehack.st/uploads/default/original/3X/1/e/1eb1b6a695a1b7c859bf05bfd341aeedb72cf801.png)

I got the above error, pls help

---

<div class="post-metadata">

**Author:** ![trexoftsys](https://onehack.st/user_avatar/onehack.st/trexoftsys/32/13674_2.png) [@trexoftsys](https://onehack.st/u/trexoftsys)\
**Post date:** [December 2, 2019, 4:44pm UTC](https://onehack.st/t/solved-how-to-download-on-going-live-youtube-videos/62949/6 "2019-12-02T16:44:25Z")

</div>

You probably forgot to install streamlink, step 3 from my post:

`pip install streamlink`

Or maybe you installed it manually in a different way than the method I suggested above. If you are certain you installed streamlink, then you have to edit your Windows’ environment PATH variable to include the streamlink path, or instead of using “streamlink” use the actual location to the program where you installed it, something like "C:\\<location\_to\_streamlink\>\streamlink.exe … "

---

<div class="post-metadata">

**Author:** ![moses\_Dsk](https://onehack.st/letter_avatar_proxy/v4/letter/m/7ab992/32.png) [@moses\_Dsk](https://onehack.st/u/moses_Dsk)\
**Post date:** [December 3, 2019, 8:31am UTC](https://onehack.st/t/solved-how-to-download-on-going-live-youtube-videos/62949/8 "2019-12-03T08:31:06Z")

</div>

Thanks.This helped

---

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [December 2, 2019, 5:13pm UTC](https://onehack.st/t/solved-how-to-download-on-going-live-youtube-videos/62949/7 "2019-12-02T17:13:30Z")

</div>

Well done @trexoftsys I’m impressed and really happy to have experienced members like you around, Thank you for providing the perfect solution, there is nothing else required for me to add. Cheers 😊

## THREAD MARKED AS SOLVED.

[Next page](https://onehack.st/t/solved-how-to-download-on-going-live-youtube-videos/62949.md?page=2)
