


def 	_UpperCAmelCase							(  UpperCAmelCase   :      Optional[int]   ):
      """simple docstring"""




      if divisor % 5 == 0 or divisor % 2 == 0:
            return 0
      __lowerCamelCase  :   List[str]							    =    1
      __lowerCamelCase  :   Tuple							    =    1
      while repunit:
            __lowerCamelCase  :   List[str]							    =    (10 * repunit + 1) % divisor
            repunit_index += 1
      return repunit_index





def 	_UpperCAmelCase							(  UpperCAmelCase   :      Dict = 1_000_000   ):
      """simple docstring"""




      __lowerCamelCase  :   List[Any]							    =    limit - 1
      if divisor % 2 == 0:
            divisor += 1
      while least_divisible_repunit(UpperCamelCase_   ) <= limit:
            divisor += 2
      return divisor


if __name__ == "__main__":
    print(F'''{solution() = }''')




from datetime import datetime

import requests
from bsa import BeautifulSoup

if __name__ == "__main__":
     _SCREAMING_SNAKE_CASE 		=      input("""Enter image url: """).strip()
     print(F'''Downloading image from {url} ...''')
     _SCREAMING_SNAKE_CASE 		=      BeautifulSoup(requests.get(url).content, """html.parser""")
     # The image URL is in the content field of the first meta tag with property og:image
     _SCREAMING_SNAKE_CASE 		=      soup.find("""meta""", {"""property""": """og:image"""})["""content"""]
     _SCREAMING_SNAKE_CASE 		=      requests.get(image_url).content
     _SCREAMING_SNAKE_CASE 		=      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}.''')
