





def    __lowerCamelCase					(							__a   :str    ,     __a   :str = " "    )		->				list:






		"""simple docstring"""

		A__        =   []

		A__        =   0
		for index, char in enumerate(__a    ):
				if char == separator:
						split_words.append(string[last_index:index]    )
						A__        =   index + 1
				elif index + 1 == len(__a    ):
						split_words.append(string[last_index : index + 1]    )
		return split_words


if __name__ == "__main__":
					from doctest import testmod

					testmod()










from datetime import datetime

import requests
from bsa import BeautifulSoup

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



