-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Support Live Streamed Videos #79
Comments
I agree, it only supports the uploaded videos and doesnt support the live streamed ones. Any thoughts about adding this functionality? |
@abe-101 do you have any examples of channels where you experience this issue? I could be an issue with the auto generated subtitles not loading until a period of time after they first streamed. |
So we can get all live streamed urls from a channel with: yt-dlp --flat-playlist --print id "https://www.youtube.com/@channel_name/streams" This is implemented with def get_videos_list(channel_url):
"""
Scrapes list of all video urls from the channel
"""
console = Console()
with console.status("[bold green]Scraping video urls, this might take a little...") as status:
cmd = [
"yt-dlp",
"--flat-playlist",
"--print",
"id",
f"{channel_url}"
]
res = subprocess.run(cmd, capture_output=True, check=True)
list_of_videos_urls = res.stdout.decode().splitlines()
return list_of_videos_urls This will work the same with |
Support Live Streamed Videos #79
Added in "Support Live Streamed Videos #112" |
seeing this now do you still need help testing out live streams? |
If you see any other issues pop up feel free to make another issue, thanks |
It seems that the download command only downloads transcripts of the uploaded videos
It would be nice to also support videos which are live streamed
The text was updated successfully, but these errors were encountered: