Git Product home page Git Product logo

youtube-comment-search's Introduction

youtube-comment-search

search youtube comments

TODO

  • etags tell you if something has been changed. We can have a local cache for searches, and only go get the comment when it changed
  • a search takes 100 quota. While we can get 100 comment threads with 1 quota.
    • do the math to find out which one is better
  • figure out the async stuff for CLI (main.rs) and for the API (lib.rs)
  • integration tests

Structure of search + thoughts

  • Comment Threads get a list of comment threads with the following query terms: -("part","id,replies,snippet") -("videoId",&videoId) -("maxResults","100") -("pageToken",&pageToken) when we need to go to the next page

  • snippet makes it sound like it is not the whole comment, but I am pretty sure that it is the whole comment

  • I have to get all of the comments with the comment api, but only if the etag changes

    • (Note that a commentThread resource does not necessarily contain all replies to a comment, and you need to use the comments.list method if you want to retrieve all replies for a particular comment.)

  • use a text search ono the machine itself (https://github.com/quickwit-oss/tantivy)

  • make a script to auto search channels for terms

youtube-comment-search's People

Contributors

bpnordin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.