Skip to content

Implement filtering #27

@jabbany

Description

@jabbany

We want to have a scheduled job (daily) that does the following, in order:

  1. For each channel (user), grab all new comments from YouTube between the last sync and current sync. Save all the new comments into our db
  2. For each grabbed comment, loop through each filter in each filter group:
    1. If a match is encountered, based on the match, put the comment into a corresponding bin for action (nothing, delete, review, report, block)
    2. Increment 2 stats counters: (1) "how many comments caught by this filter today" and (2) "how many comments were applied this action today")
  3. Batch execute action bins via the Youtube API

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendStuff for us onlyurgentStuff that needs to be done before deploy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions