from numpy import exp, pi, sqrt




def       __lowerCAmelCase      (						A_   : Any						,	A_   : float = 0.0						,	A_   : float = 1.0					)    ->  int:
  return 1 / sqrt(2 * pi * sigma**2					) * exp(-((x - mu) ** 2) / (2 * sigma**2)					)


if __name__ == "__main__":
       import doctest

       doctest.testmod()




from datetime import datetime

import requests




def       __lowerCAmelCase      (						A_   : str					)    ->  bytes:
  __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(A_					).content


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



