


from datetime import datetime

import requests






def 		_A		(		_lowercase )					-> bytes:


     """simple docstring"""


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


if __name__ == "__main__":
    __snake_case   							=						input('''Enter Video/IGTV url: ''').strip()
    __snake_case   							=						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}.""")







"""simple docstring"""






from abc import ABC, abstractmethod
from argparse import ArgumentParser



class      A__  (    __SCREAMING_SNAKE_CASE				):




	'''simple docstring'''





	@staticmethod
	@abstractmethod
	def 				_SCREAMING_SNAKE_CASE  (	_SCREAMING_SNAKE_CASE:						ArgumentParser)							->			Optional[int]:

				"""simple docstring"""

				raise NotImplementedError()







	@abstractmethod
	def 				_SCREAMING_SNAKE_CASE  (	self:						Union[str, Any])							->			Dict:

				"""simple docstring"""

				raise NotImplementedError()