Skip to content

Latest commit

 

History

History
43 lines (23 loc) · 914 Bytes

cli.rst

File metadata and controls

43 lines (23 loc) · 914 Bytes

Command Line Usage

Overview

A full list of command line arguments can be obtained by running the help command:

$ chat_downloader -h

The output of which is as follows:

cd .. && python -m chat_downloader -h

Examples

  1. Message groups and types

    Options are specified by a space- or comma-separated list. If you specify more than one item, enclose the argument in quotation marks.

    • Using message groups:
    $ chat_downloader https://www.youtube.com/watch?v=n5aQeLwwEns --message_groups "messages superchat"
    • Using message types:
    $ chat_downloader https://www.youtube.com/watch?v=n5aQeLwwEns --message_types membership_item
  2. Output to file
$ chat_downloader https://www.youtube.com/watch?v=n5aQeLwwEns --output chat.json