




from datetime import datetime

import requests




def 			__magic_name__				( A		:					str   ):






			'''simple docstring'''







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


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












import numpy as np




def 			__magic_name__				( A		:					np.array   ):






			'''simple docstring'''







			return 1 / (1 + np.exp(-vector   ))




def 			__magic_name__				( A		:					np.array   ):






			'''simple docstring'''







			return vector * sigmoid(1.7_02 * vector   )


if __name__ == "__main__":
		import doctest

		doctest.testmod()






