Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Subreddit focus
- subreddit = 'funny'
- # Time frame on capture window
- time_frame = 'day'
- # Accepted extensions to check for in the submission url
- accepted_extensions = ('.jpg', '.jpeg', '.jpeg', '.png')
- # Google APIs labels blacklist
- blacklist_words = ["thigh", "undergarment", "muscle"]
- # How many submissions we're trawling "Top n in /r/funny"
- submission_breadth = 15
- # How many root comments deep we're trawling within the post.
- comment_breadth = 5
- # max comment length to be digested
- comment_max_length = 80
- # min comment length to be digested
- comment_min_length = 40
- # Accepted word wraps for the comment
- accepted_word_wraps = [',', '.', '?']
- # check how long the text is in the image from Google API call.
- text_detection_margin_of_error = 3
- # image width after scale
- image_scale_width = 300
- # white padding on image top and bottom
- image_vertical_padding = 200
- # text colour for image
- image_text_colour = (220, 220, 220, 255)
- # top and bottom banner colours
- meme_background_colour = (15, 15, 15, 255)
- # meme font
- meme_font = "arial.ttf"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement