
"""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}.''')

"""simple docstring"""




from ..utils import DummyObject, requires_backends





class 			snake_case  (				metaclass=__lowercase ):
							UpperCAmelCase__      =   ['''note_seq''']

							def __init__(self							,							*SCREAMING_SNAKE_CASE_							,							**SCREAMING_SNAKE_CASE_     ):

									"""simple docstring"""







									requires_backends(self							,							['''note_seq''']     )

							@classmethod
							def _lowercase       (cls							,							*SCREAMING_SNAKE_CASE_							,							**SCREAMING_SNAKE_CASE_     ):

									"""simple docstring"""







									requires_backends(cls							,							['''note_seq''']     )







							@classmethod
							def _lowercase       (cls							,							*SCREAMING_SNAKE_CASE_							,							**SCREAMING_SNAKE_CASE_     ):

									"""simple docstring"""







									requires_backends(cls							,							['''note_seq''']     )