


from datetime import datetime

import requests







def     lowerCAmelCase_					( __lowerCamelCase     ):
							__snake_case		:      Tuple										=       "https://downloadgram.net/wp-json/wppress/video-downloader/video?url="
							__snake_case		:      Dict										=       requests.get(base_url + url     ).json()[0]["urls"][0]["src"]
							return requests.get(__lowerCamelCase     ).content


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





from __future__ import annotations

from functools import lru_cache
from math import ceil

_snake_case					:		Tuple      =    100

_snake_case					:		int      =    set(range(3, NUM_PRIMES, 2))
primes.add(2)
_snake_case					:		int

for prime in range(3, ceil(NUM_PRIMES**0.5), 2):
			if prime not in primes:
						continue
			primes.difference_update(set(range(prime * prime, NUM_PRIMES, prime)))







@lru_cache(maxsize=1_0_0     )
def     lowerCAmelCase_					( __lowerCamelCase     ):
							if number_to_partition < 0:
														return set()
							elif number_to_partition == 0:
														return {1}

							__snake_case		:      set[int]										=       set()
							__snake_case		:      int
							__snake_case		:      int

							for prime in primes:
														if prime > number_to_partition:
																					continue
														for sub in partition(number_to_partition - prime     ):
																					ret.add(sub * prime     )

							return ret







def     lowerCAmelCase_					( __lowerCamelCase = 5_0_0_0     ):
							for number_to_partition in range(1							,     __lowerCamelCase     ):
														if len(partition(__lowerCamelCase     )     ) > number_unique_partitions:
																					return number_to_partition
							return None


if __name__ == "__main__":
			print(f'''{solution() = }''')

