Skip to content

Instantly share code, notes, and snippets.

View scresante's full-sized avatar

scresante

View GitHub Profile
@scresante
scresante / Youtube_Livestream_Parts_download.py
Last active December 3, 2021 12:08 — forked from cheadrian/Youtube_Livestream_Parts_download.py
Download Youtube Live streamed video from the start or selected time
#With the help of this script you can download parts from the Youtube Video that is live streamed, from start of the stream till the end
import urllib.request
try:
from tqdm import tqdm
except ImportError:
print('consider installing tqdm for a nice progress bar')
#E.G: "https://r4---sn-gqn-p5ns.googlevideo.com/videoplayback?expire=1603041842& ..... 2.20201016.02.00&sq="
#The sound link should contain: &mime=audio in it.