GithubHelp home page GithubHelp logo

Comments (2)

voussoir avatar voussoir commented on May 30, 2024

Hi, the bot.py file is meant to contain your reddit credentials. There is a part of the main readme that says this:

https://github.com/voussoir/timesearch#make-sure-you-have

  • Downloaded a copy of this file and saved it as bot.py. Fill out the variables using your OAuth information, and read the instructions to see where to put it. The Useragent is a description of your API usage. Typically "/u/username's praw client" is sufficient.

You can name it bot.py or bot4.py according to this logic.

The instructions inside bot.py describe the use of the PYTHONPATH env variable, but since you're using anaconda you may have to find a more specific directory to provide libs to your env. As always, placing the file in the same place as builtin modules like os or sys is guaranteed to work in a pinch.

from timesearch.

WAUthethird avatar WAUthethird commented on May 30, 2024

Seems to work, I actually deleted that file when upgrading to latest source, because I thought it was extraneous and unnecessary due to it utilizing timesearch. Too bad I didn't remember that it uses Reddit to check for the most up-to-date posts and comments.

Wasn't too hard to add back, though. Thanks!

from timesearch.

Related Issues (19)

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.