@ -35,8 +35,10 @@ These videos on TikTok, YouTube and Instagram get MILLIONS of views across all p
3. Run `pip3 install -r requirements.txt`
4. Run `playwright install` and `playwright install-deps`.
5. Run `python3 main.py`
6. ...
7. Enjoy 😎
6. Enjoy 😎
If you want to see more detailed guide, please refer to the official [documentation](https://luka-hietala.gitbook.io/documentation-for-the-reddit-bot/).
*The Documentation is still being developed and worked on, please be patient as we change / add new knowledge!
"### Thanks for using this tool! [Feel free to contribute to this project on GitHub!](https://lewismenelaws.com) If you have any questions, feel free to reach out to me on Twitter or submit a GitHub issue."
@ -13,11 +15,29 @@ print_markdown(
time.sleep(3)
load_dotenv()
configured=True
ifnotos.path.exists(".env"):
shutil.copy(".env.template",".env")
configured=False
forvalinREQUIRED_VALUES:
ifvalnotinos.environornotos.getenv(val):
print(f"Please set the variable \"{val}\" in your .env file.")
configured=False
reddit_object=get_subreddit_threads()
try:
float(os.getenv("OPACITY"))
except:
print(f"Please ensure that OPACITY is set between 0 and 1 in your .env file")