Skip to content
This repository has been archived by the owner on Jan 31, 2021. It is now read-only.

Adding informations for the command-line usage #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ It's part of the video URL: `https://www.youtube.com/watch?v=<VideoID>`.
| https://www.youtube.com/watch?v=abc123def45 | abc123def12 |
| https://youtu.be/abc123def45 | abc123def45 |

**Nota:**

If `<VideoID>` begins with a dash, if you use it directly, you will see an error message: error: `unknown option '-…'`, where `…` is the second character of `<VideoID>` after the dash `-`.

Remark: the quotes around the `<VideoID>` are optional, and ineffective to suppress the error message in this case.

To work around this behavior, please use before `<VideoID>` the double dash (`--`), which terminates the list of command-line options (according to the POSIX specification).

So, if the video URL is `https://www.youtube.com/watch?v=-abc123def45`, it's `<VideoID>` is `-abc123def45`, and you will use this command line: `$ youtube-comment-scraper [options] -- -abc123def45`.

### Options

Expand Down