Git Product home page Git Product logo

askreddit-video-bot's People

Contributors

mcamilo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

askreddit-video-bot's Issues

Error: "Invalid grant" error returned from reddit. (You might have incorrect credentials.)

I am trying to run the script for the first time. Here's what I am currently doing:

  1. Clone the repo, open the main folder
  2. Create an .env file with the 5 Reddit Credential Variables (double checked every variable value)
  3. npm install
  4. npm start

(I have not set up google Voice API yet)

I get the following error:


node:internal/process/promises:265
            triggerUncaughtException(err, true /* fromPromise */);
            ^

Error: "Invalid grant" error returned from reddit. (You might have incorrect credentials.)
    at E:\code\AskReddit-video-bot-master\AskReddit-video-bot-master\node_modules\snoowrap\dist\request_handler.js:280:15
    at tryCatcher (E:\code\AskReddit-video-bot-master\AskReddit-video-bot-master\node_modules\bluebird\js\release\util.js:16:23)   
    at Promise._settlePromiseFromHandler (E:\code\AskReddit-video-bot-master\AskReddit-video-bot-master\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (E:\code\AskReddit-video-bot-master\AskReddit-video-bot-master\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (E:\code\AskReddit-video-bot-master\AskReddit-video-bot-master\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (E:\code\AskReddit-video-bot-master\AskReddit-video-bot-master\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (E:\code\AskReddit-video-bot-master\AskReddit-video-bot-master\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (E:\code\AskReddit-video-bot-master\AskReddit-video-bot-master\node_modules\bluebird\js\release\async.js:86:9)  
    at Async._drainQueues (E:\code\AskReddit-video-bot-master\AskReddit-video-bot-master\node_modules\bluebird\js\release\async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (E:\code\AskReddit-video-bot-master\AskReddit-video-bot-master\node_modules\bluebird\js\release\async.js:15:14)
    at processImmediate (node:internal/timers:466:21)

Setup instructions required

There is no way anyone can setup this repo.
Where do I get a "reddit-video-maker-7dbf..." private_key_id? What even is that?
Why and how can you assume anyone knows anything about snoowrap? I have never heard about that and there are credentials needed also. If you google this Framework(?) you find 3 pages for easy credential access but not a single one is officialy by snoowrap.
Please provide a easy step by step instruction for setting up this repo. Thanks
@Mcamilo

Todo List

  • Reddit
    • Collect n most recent posts from the AskReddit subreddit
    • Allow post selection
    • Collect comments on a selected post
    • Save in memory
    • Filter Comments by size
    • Dynamically add subreddits to fetch

  • ** Text **
  • Filter cuss words
  • Eliminate Text noise (Characters, 'edits', links, etc)

  • Frames
    • Retrieve selected thread (list of comments and replies)
    • Write each sentence in an image (frame)
    • Save frames from the same thread in a single directory
    • Improve the Comment Template
    • Create Question Template
    • Add Gold and Rewards to the frame design

  • Audio
  • Transform thread text to speech (T2S)
  • Question audio
  • Dependency Injection

  • Video
  • Pair frames and audio
  • Add animations (cuts)
  • Background loop for the entire length of the video
  • Merge concatenated audio with background music
  • Synchronize Features
  • Question

  • Youtube
  • Authenticate with OAuth
  • Video upload
  • Dynamically create Thumbnail
  • Thumbnail Upload (Reddify)

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.