Giter Site home page Giter Site logo

yt-indexer's People

Contributors

mr-highball avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gzwplato

yt-indexer's Issues

Useful queries

Would be good for others to store some useful queries that can just work for certain common uses

ac's

  • new folder in repo to hold queries
  • distinct channels for keyword
  • full video url for search term
  • breakdown of counts per search term

add channel csv to config

we need to allow for setting a channel listing to be used instead of the keyword searching. often users know exactly who they want to watch, so let them specify

ac's

  • new config option for channel csv (id list)
  • when channel list is used videos will only be indexed from those channels
    • keywords will be ignored in this case

provide a bundled web server that produces a landing search page for content

indexing videos is cool, but not too many people prefer to use sqlite as their main means to procure video content.

ac's

  • new config option for enabling the browser and any supporting properties
    • listening port
  • when enabled the browser will create a web server and listen for incoming requests
    • an html page with basic search / filtering options should be provided back to the user

Use log error method

Forgot to use the LogError method in some places which reports to the error table. Need to cleanup those places and any other spots that could use exception capturing.

syntax error near "xyz" on insert resource

have received a small amount of errors while indexing that seem to be related to the title of videos which prevents the insert of the record

ac's

  • troubleshoot what causes syntax errors in the generated SQL
    • โ“ is this due to unicode chars?
  • implement fix for all areas that could be affected (title, keywords, description etc...)

Link origin keyword for search result

Would be good to link the keyword that was originally used to retrieve a search result

ac's

  • new table holding the following fields
    • id (pkey)
    • resource_id (fkey to resource.id)
    • keyword (origin keyword)

[Suggestion] Needs an appsettings.json.example file

Hey mr-highball(@mr-highball),

Could you please drop a appsettings.json.example file somewhere in the repository?
Many thanks in advance ๐Ÿ˜„ !!

This way we can just edit that one instead of trying to guess what the format is ๐Ÿ˜› .

I guess you get a pass on this one since your alcohol level kinda impaired your judgement ๐Ÿ˜œ

Cheers,
Gus


P.S.: I like being first poster, LOL!!

make use of quota vars

quota variables (remaining, spent) were stubbed out, but never fully implemented (other than persistence from json)

ac's

  • when a search request is performed, decrement by the quota cost
  • reset the spent amount back to the daily quota when the next set of search requests are queued

wrong snippet association

snippet seems to sometimes getting associated with the wrong resource_id which gives a misleading title / description / thumbnails. need to track this down and fix

video metadata

would be good to capture additional video metadata so that we can better query on video quality

metrics

  • likes / dislikes (aka updoots)
  • views
  • video duration

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.