code: def _add_play_button(self, image_url, image_path):
          
          try:
              from PIL import Image
              from tempfile import NamedTemporaryFile
              import urllib
              try:
                  urlretrieve = urllib.request.urlretrieve
              except ImportError:
                  urlretrieve = urllib.urlretrieve
  
              # create temporary files for image operations
              with NamedTemporaryFile(suffix=".jpg") as screenshot_img:
                  with NamedTemporaryFile(suffix=".jpg") as button_img:
                      # grab screenshot and button image
                      urlretrieve(image_url, screenshot_img.name)
                      urlretrieve(play_button_url, button_img.name)
  
                      # layer the images using PIL and save
                      with Image.open(screenshot_img.name) as background:
                          with Image.open(button_img.name) as foreground:
                              background.paste(foreground, (90, 65), foreground)
                              background.save(image_path)
  
          except ImportError as e:
              print(e)
  
          except Exception as e:
              print('Unable to add play button to YouTube '
                    'screenshot (%s). Using the screenshot '
                    'on its own instead.' % e)
docs: Try to add a play button to the screenshot.