Comments (2)
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.
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)
- Proxy HOT 6
- received 400 HTTP response HOT 9
- insert_filler missing 1 required positional argument HOT 7
- AttributeError: 'DummySubmission' object has no attribute 'url' on some subreddits HOT 2
- import timesearch_modules error HOT 3
- get_submissions doesn't work for some subreddits HOT 4
- new error since today for comment download
- New issue with praw HOT 2
- 404 for https://api.pushshift.io/meta HOT 7
- parent_id attribute for comments from pushshift API
- Recovering from exception HOT 2
- dont work no more any way around with local dumps?? HOT 4
- Getting deleted posts/comments? HOT 4
- Offline Reading <> Invalidates HTML HOT 3
- Missing license HOT 1
- SyntaxError: invalid syntax HOT 7
- Offline reading HOT 9
- x
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timesearch.