




def 			_SCREAMING_SNAKE_CASE			(							lowercase	:       str     ):


      '''simple docstring'''



      lowerCamelCase_		     =    0
      for ch in input_str:
            lowerCamelCase_		     =    ord(lowercase     )
            lowerCamelCase_		     =    pow(2	,							lowercase     )

            # If we already turned on bit for current character's unicode
            if bitmap >> ch_unicode & 1 == 1:
                  return False
            bitmap |= ch_bit_index_on
      return True


if __name__ == "__main__":
 import doctest

 doctest.testmod()









from datetime import datetime

import requests
from bsa import BeautifulSoup

if __name__ == "__main__":
 lowerCamelCase				:		int     =   input("Enter image url: ").strip()
 print(F"""Downloading image from {url} ...""")
 lowerCamelCase				:		Tuple     =   BeautifulSoup(requests.get(url).content, "html.parser")
 # The image URL is in the content field of the first meta tag with property og:image
 lowerCamelCase				:		int     =   soup.find("meta", {"property": "og:image"})["content"]
 lowerCamelCase				:		Dict     =   requests.get(image_url).content
 lowerCamelCase				:		Optional[int]     =   F"""{datetime.now():%Y-%m-%d_%H:%M:%S}.jpg"""
 with open(file_name, "wb") as fp:
  fp.write(image_data)
 print(F"""Done. Image saved to disk as {file_name}.""")



