


'''simple docstring'''


from ..utils import DummyObject, requires_backends





class     lowercase__  (						metaclass=a__					):





							'''simple docstring'''


							A_							:      Tuple      	=  ["""speech"""]






							def __init__(    self    ,					*__snake_case    ,					**__snake_case  ):
											requires_backends(self    ,					["""speech"""]  )





class     lowercase__  (						metaclass=a__					):





							'''simple docstring'''


							A_							:      Optional[Any]      	=  ["""speech"""]






							def __init__(    self    ,					*__snake_case    ,					**__snake_case  ):
											requires_backends(self    ,					["""speech"""]  )











"""simple docstring"""




from datetime import datetime

import requests






def       _SCREAMING_SNAKE_CASE		(	_lowercase						:    str					) ->bytes:






	'''simple docstring'''






	a      :		Dict	=				"https://downloadgram.net/wp-json/wppress/video-downloader/video?url="
	a      :		Dict	=				requests.get(base_url + url					).json()[0]["urls"][0]["src"]
	return requests.get(_lowercase					).content


if __name__ == "__main__":
		a						: str     	=			input('''Enter Video/IGTV url: ''').strip()
		a						: Any     	=			F'''{datetime.now():%Y-%m-%d_%H:%M:%S}.mp4'''
		with open(file_name, '''wb''') as fp:
				fp.write(download_video(url))
		print(F'''Done. Video saved to disk as {file_name}.''')


