riptl / ytpriv

YT metadata exporter
GNU General Public License v3.0
28 stars 7 forks source link
big-data crawler csv datascience json video youtube

ytpriv 💾

Note: This software is not maintained and will be archived soon. I do not provide support in any way. Learn to code and fork this repository if you need a feature/bugfix.

A fast tool for exporting YouTube data using their undocumented JSON APIs.

No API keys or logins required, and no stability guarantees given.

If you find it useful, please give it a star!

Please only use this tool to the extent permitted by the YouTube ToS.

Installation

From source

Requires a Go 1.14+ toolchain.

Run go install ./cmd/ytpriv to install to $(go env GOPATH)/bin/ytpriv.

Features

ytpriv [command]
  channel     Scrape a channel
  livestream  Scrape a livestream
  playlist    Scrape a playlist
  video       Scrape a video

Channel

ytpriv channel [command]
  overview    Get overview of channel
  videos      Get full list of videos of channel
  videos_page Get videos page of channel

Livestream

ytpriv livestream [command]
  chat        Follow the live chat

Playlist

ytpriv playlist [command]
  videos      Get full list of videos in playlist
  videos_page Get page of videos of playlist

Video

ytpriv video [command]
  comments    Scrape comments of videos
  detail      Get details about a video

Attributions

Developed by @terorie

Using the amazing Go ecosystem including: