






from datetime import datetime

import requests

def        UpperCAmelCase__		(						lowerCamelCase_       :       str				):
			__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(lowerCamelCase_				).content


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




def 			_lowerCAmelCase     (    __snake_case    :					int					,				__snake_case    :					int					,				__snake_case    :					int     )	->	float:
     __A		:					Dict						=			(num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
     # formula for sum of series
     return total






def 			_lowerCAmelCase     (    )	->	Union[str, Any]:
     print(sum_of_series(1					,				1					,				10     )     )


if __name__ == "__main__":
  import doctest

  doctest.testmod()