Advertisement
Guest User

Untitled

a guest
Feb 18th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. # Subreddit focus
  2. subreddit = 'funny'
  3.  
  4. # Time frame on capture window
  5. time_frame = 'day'
  6.  
  7. # Accepted extensions to check for in the submission url
  8. accepted_extensions = ('.jpg', '.jpeg', '.jpeg', '.png')
  9.  
  10. # Google APIs labels blacklist
  11. blacklist_words = ["thigh", "undergarment", "muscle"]
  12.  
  13. # How many submissions we're trawling "Top n in /r/funny"
  14. submission_breadth = 15
  15.  
  16. # How many root comments deep we're trawling within the post.
  17. comment_breadth = 5
  18.  
  19. # max comment length to be digested
  20. comment_max_length = 80
  21.  
  22. # min comment length to be digested
  23. comment_min_length = 40
  24.  
  25. # Accepted word wraps for the comment
  26. accepted_word_wraps = [',', '.', '?']
  27.  
  28. # check how long the text is in the image from Google API call.
  29. text_detection_margin_of_error = 3
  30.  
  31. # image width after scale
  32. image_scale_width = 300
  33.  
  34. # white padding on image top and bottom
  35. image_vertical_padding = 200
  36.  
  37. # text colour for image
  38. image_text_colour = (220, 220, 220, 255)
  39.  
  40. # top and bottom banner colours
  41. meme_background_colour = (15, 15, 15, 255)
  42.  
  43. # meme font
  44. meme_font = "arial.ttf"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement