Skip to content

Record, log, and graph the live concurrent viewership of a YouTube Livestream

License

Notifications You must be signed in to change notification settings

labtec901/youtube-livestream-viewership-recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

youtube-livestream-viewership-recorder

Record, log, and graph the live concurrent viewership of a YouTube Livestream starbase-live-24-7-starship-super-heavy-development-from-spacex-s-boca-chica-facility_graph


usage: youtube_livestream_viewership_recorder.py [-h] [--filepath [FILEPATH]]
                                                 [--api_key [API_KEY]]
                                                 [--healthcheck [HEALTHCHECK]]
                                                 [-gshow] [-gsave]
                                                 url [r]

Log viewership for a youtube livestream

positional arguments:
  url                   A YouTube livestream URL
  r                     How often to fetch and log viewership (sec) (default:
                        just once)

options:
  -h, --help            show this help message and exit
  --filepath [FILEPATH]
                        Path to save logs and images to (default: current
                        working directory)
  --api_key [API_KEY]   Youtube API Key (default: hardcoded)
  --healthcheck [HEALTHCHECK]
                        HealthCheck.io URL to ping on successful data write
  -gshow                Graph and show the CSV output
  -gsave                Graph and save a PNG of the CSV output

About

Record, log, and graph the live concurrent viewership of a YouTube Livestream

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages