code: def wkhtmltopdf_args_mapping(data):
      
      mapping = {
          'cookies': 'cookie',
          'custom-headers': 'custom-header',
          'run-scripts': 'run-script'
      }
  
      return {mapping.get(k, k): v for k, v in data.items()}
docs: fix our names to wkhtmltopdf's args