



def       __lowerCAmelCase      (						A_   : str						,	A_   : Optional[Any]					)    ->  Optional[int]:
  __UpperCAmelCase						    =       0
  while b > 0:
    if b & 1:
      res += a

    a += a
    b >>= 1

  return res





def       __lowerCAmelCase      (						A_   : str						,	A_   : Tuple						,	A_   : List[Any]					)    ->  Dict:
  __UpperCAmelCase						    =       0
  while b > 0:
    if b & 1:
      __UpperCAmelCase						    =       ((res % c) + (a % c)) % c

    a += a
    b >>= 1

  return res




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}.")



