Changed AskReddit from all defaults

pull/463/head
Arpan Pandey 4 years ago
parent 41ebf3b5e5
commit 20f591c21e

1
.gitignore vendored

@ -9,3 +9,4 @@ __pycache__
.idea/
.DS_Store
out
*.mp4

@ -9,7 +9,7 @@ import os, random, praw, re
def get_subreddit_threads():
global submission
"""
Returns a list of threads from the AskReddit subreddit.
Returns a list of threads from the given subreddit.
"""
load_dotenv()
@ -77,6 +77,6 @@ def get_subreddit_threads():
except AttributeError as e:
pass
print_substep("Received AskReddit threads successfully.", style="bold green")
print_substep("Received subreddit threads successfully.", style="bold green")
return content

@ -9,7 +9,7 @@ def download_screenshots_of_reddit_posts(reddit_object, screenshot_num, theme):
"""Downloads screenshots of reddit posts as they are seen on the web.
Args:
reddit_object: The Reddit Object you received in askreddit.py
reddit_object: The Reddit Object you received in subreddit.py
screenshot_num: The number of screenshots you want to download.
"""
print_step("Downloading Screenshots of Reddit Posts 📷")

@ -9,7 +9,7 @@ def save_text_to_mp3(reddit_obj):
"""Saves Text to MP3 files.
Args:
reddit_obj : The reddit object you received from the reddit API in the askreddit.py file.
reddit_obj : The reddit object you received from the reddit API in the subreddit.py file.
"""
print_step("Saving Text to MP3 files...")
length = 0

Loading…
Cancel
Save