





"""simple docstring"""




def       _SCREAMING_SNAKE_CASE		(	_lowercase						:    str    ,       _lowercase						:    str					) ->List[Any]:






	'''simple docstring'''






	assert x is not None
	assert y is not None

	a      :		Optional[Any]	=				len(_lowercase					)
	a      :		List[Any]	=				len(_lowercase					)

	# declaring the array for storing the dp values
	a      :		int	=				[[0] * (n + 1) for _ in range(m + 1					)]  # noqa: E741

	for i in range(1    ,       m + 1					):
		for j in range(1    ,       n + 1					):
			a      :		List[Any]	=				1 if x[i - 1] == y[j - 1] else 0

			a      :		Any	=				max(l[i - 1][j]    ,       l[i][j - 1]    ,       l[i - 1][j - 1] + match					)

	a      :		List[Any]	=				""
	a,       a      :		Dict	=				m, n
	while i > 0 and j > 0:
		a      :		List[str]	=				1 if x[i - 1] == y[j - 1] else 0

		if l[i][j] == l[i - 1][j - 1] + match:
			if match == 1:
				a      :		int	=				x[i - 1] + seq
			i -= 1
			j -= 1
		elif l[i][j] == l[i - 1][j]:
			i -= 1
		else:
			j -= 1

	return l[m][n], seq


if __name__ == "__main__":
		a						: Any     	=			'''AGGTAB'''
		a						: Dict     	=			'''GXTXAYB'''
		a						: Union[str, Any]     	=			4
		a						: Optional[int]     	=			'''GTAB'''

		a	, a						: Tuple     	=			longest_common_subsequence(a, b)
		print('''len =''', ln, ''', sub-sequence =''', subseq)
		import doctest

		doctest.testmod()









"""simple docstring"""




from datetime import datetime

import requests






def       _SCREAMING_SNAKE_CASE		(	_lowercase						:    str					) ->bytes:






	'''simple docstring'''






	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(_lowercase					).content


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


