↑ Return to F90 Youtube

F99 Blacklist and Whitelist

by
George Morgan
My articles
Follow on:

Page no: F98

 

Explanation

Videos and Pics

Data Auto Populate

  • 1. Verify all published videos if they are not spam
  • 2. Not really spam: Delete forever the videos by the author that are duplicated or wrong language, etc.
  • 3. Script fills all channels of trashed videos into the Blacklist (focus: Trash) (Prio 3 or4)
  • a. per author
  • b. for all authors
  • 4. Run Blacklist for all authors again

 

Blacklist

Blacklist Filtering in YouTube API (prio2)

  • — Not an option
  • Call You API with excluded channels as parameter
  • —- BlackList Approach (Prio 2)
  • Call YouTube API
  • Obtain Results Array
  • Go through APIResults Array
  • for each element in the resultsArray
  • if channel is not in Blacklist then put into FinalResultsArry
  • Send FinalResultsArry to Extended FeedLoader

 

Add new trashed items to blacklist

  • Use case: add a new item to blacklist
  • —- How to, option1: Implemented
  • Add a video of the bad channel to Trash
  • Re-populate blacklist
  • — Option 2: Implemented
  • Add items of blacklist manually as text
  • —- Option3
  • add channel of newly trashed to items to Blacklist
  • -> at least one day for implementig? should we do it??
Blacklist Items Example
Blacklist Items Example

- Click to enlarge

 

Whitelist

Whitelist Filtering in YouTube API

  • — For authors that are very spammy, big exception
  • — Not an option
  • Call You API with excluded channels as parameter
  • —- Special Params for Whitelist on the user
  • Call YouTube API
  • Obtain Results Array
  • Go through APIResults Array
  • for each element in the resultsArray
  • if channel is in Whitelist then put into FinalResultsArry
  • Send FinalResultsArry to Extended FeedLoader

See more for Autofeed