dermasmid / scrapetube

A YouTube scraper for scraping channels, playlists, and searching 🔎
https://scrapetube.readthedocs.io/en/latest/
MIT License
335 stars 48 forks source link

please please, we need live stream information by scrapetube(); #20

Open seongchulham opened 1 year ago

seongchulham commented 1 year ago

please, Live video information is essential. Please update to make it work.

now. use code : blow scrapetube.get_channel(channel_id)

include normal movie id, live movie is not included

halbrd commented 4 months ago

You need to pass content_type='streams' to get_channel.

streams = scrapetube.get_channel(channel_id, content_type='streams')

See: https://github.com/dermasmid/scrapetube/blob/master/scrapetube/scrapetube.py#L22