Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/banhao/youtube-videos-stream
This Python script is used to identity the Live Stream YouTube video
https://github.com/banhao/youtube-videos-stream
osint osint-python osint-tool python selenium selenium-python youtube youtube-videos-stream
Last synced: 16 days ago
JSON representation
This Python script is used to identity the Live Stream YouTube video
- Host: GitHub
- URL: https://github.com/banhao/youtube-videos-stream
- Owner: banhao
- License: mit
- Created: 2020-01-02T05:20:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T04:03:54.000Z (almost 2 years ago)
- Last Synced: 2024-11-20T05:43:20.794Z (3 months ago)
- Topics: osint, osint-python, osint-tool, python, selenium, selenium-python, youtube, youtube-videos-stream
- Language: Python
- Size: 50.8 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YouTube Videos Stream
[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)youtube-videos-stream.py is used to identity the YouTube Live Stream videos.
How to use it:
Based on my another Python script https://github.com/banhao/scrape-youtube-channel-videos-url, you will get the Youtube video links such as "CBCtv-202001011120.list"
python3 youtube-videos-stream.py CBCtv-202001011120.list
Example result CBCtv-videos-stream.list was uploaded.This can be run in Windows or Linux. but don't use the 'root' to run the script in Linux, because seems in Linux you can't use 'root' account to open a browser.
Please install the "selenium" first.
https://pypi.org/project/selenium/And you also need to download the browser drivers
https://selenium-python.readthedocs.io/installation.html#driversTest results:
OS | Window10 | Linux
Python3 + FireFox | passed | passed
Python3 + Chrome | passed | haven't installed the chrome
------------------------------------------------------------------------I didn't test in IE and Edge, because I rarely use that 2 browers.
Notice: The script will read the Links from the URL List and use the browser to load the page, so that's why need to sleep 10 seconds. But this time depend on your network and computer performance. If you adjest it to a small number and no enough for the browser to load the page the script will get error.