





'''simple docstring'''






def   __A    (				a_    :	Optional[Any]						):
		for i in range(0   ,a_						):
				for _ in range(0   ,n - i - 1						):  # printing spaces
						print(" "   ,end=""						)
				for _ in range(0   ,i + 1						):  # printing stars
						print("* "   ,end=""						)
				print()






def   __A    (				a_    :	Optional[int]						):
		for i in range(a_   ,0   ,-1						):
				for _ in range(a_   ,0   ,-1						):  # printing stars
						print("* "   ,end=""						)
				print()
				for _ in range(n - i + 1   ,0   ,-1						):  # printing spaces
						print(" "   ,end=""						)






def   __A    (				a_    :	Tuple						):
		if n <= 0:
				print("       ...       ....        nothing printing :("						)
				return
		floyd(a_						)  # upper half
		reverse_floyd(a_						)  # lower half


if __name__ == "__main__":
					print(R"""| /\ | |- |  |-  |--| |\  /| |-""")
					print(R"""|/  \| |- |_ |_  |__| | \/ | |_""")
					lowerCAmelCase									=   1
					while K:
										lowerCAmelCase									=   int(input("""enter the number and , and see the magic : """))
										print()
										pretty_print(user_number)
										lowerCAmelCase									=   int(input("""press 0 to exit... and 1 to continue..."""))

					print("""Good Bye...""")











"""simple docstring"""
from datetime import datetime

import requests
from bsa import BeautifulSoup

if __name__ == "__main__":
			lowerCAmelCase__    						=			input('Enter image url: ').strip()
			print(F'Downloading image from {url} ...')
			lowerCAmelCase__    						=			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__    						=			soup.find('meta', {'property': 'og:image'})['content']
			lowerCAmelCase__    						=			requests.get(image_url).content
			lowerCAmelCase__    						=			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}.')

