Skip to main content

๐ŸŽž๏ธ Videos and Comments

The Videos tab covers video metadata and comments under videos.

Video parsing

๐Ÿ“บ Video Metadata Parsingโ€‹

The task supports YouTube API and InnerTube API.

Input data:

  • Video โ€” URLs from 3_Videos_Urls.txt.
  • Channel โ€” URLs from 2_Channels_Urls.txt; the template collects videos from channels.

Filtering parameters:

  • Video filtering โ€” enables preliminary filtering.
  • Latest videos from channel โ€” limits the number of latest videos when Channel is selected as the input data.
  • View count [from] โ€” minimum number of views.
  • Publication date [from] โ€” lower publication date boundary in 01.01.2024 format.

Leave a field empty if the filter is not needed.

๐Ÿ’ฌ Video Comment Parsingโ€‹

The task works through YouTube API and can use:

  • Video โ€” comments are collected by URLs from 3_Videos_Urls.txt.
  • Channel โ€” comments are collected from channel videos in 2_Channels_Urls.txt.

Available parameters:

  • Comment search [contains] โ€” searches for comments with the specified text through YouTube API. This is faster than later filtering, but it does not replace all regex scenarios.
  • Exclude replies โ€” saves only top-level comments.
  • Comment filtering โ€” enables preliminary filtering.
  • Comment text [contains] โ€” text filter with regex support.
  • Like count [from] โ€” minimum number of comment likes.
  • Publication date and time [from] โ€” lower publication date boundary, for example 01.01.2024 12:00.

Comment filtering is not applied to replies. If replies must be excluded, enable the separate Exclude replies option.

โœ… Practical Flowโ€‹

  1. To collect specific videos, fill 3_Videos_Urls.txt.
  2. To collect videos or comments from channels, fill 2_Channels_Urls.txt.
  3. Select the source in the input settings.
  4. Enable filtering only when the criteria are clear in advance.
  5. Before a large run, test the result on one or two videos or channels.