





__A				:    str       =   "Tobias Carryer"

from time import time

class 	A_       :
	def __init__(    self							,					_A							,					_A							,					_A							,					_A=int(time()		)		):  # noqa: B008






				'''simple docstring'''







				UpperCAmelCase   		=				multiplier
				UpperCAmelCase   		=				increment
				UpperCAmelCase   		=				modulo
				UpperCAmelCase   		=				seed







	def      _lowercase				(    self		):






				'''simple docstring'''







				UpperCAmelCase   		=				(self.multiplier * self.seed + self.increment) % self.modulo
				return self.seed


if __name__ == "__main__":
				# Show the LCG in action.
				__A				:    Optional[int]       =   LinearCongruentialGenerator(1_664_525, 1_013_904_223, 2 << 31)
				while True:
								print(lcg.next_number())










from datetime import datetime

import requests





def 						__SCREAMING_SNAKE_CASE  (				UpperCamelCase__ )  ->				bytes:







			'''simple docstring'''

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


if __name__ == "__main__":
				__A				:    Union[str, Any]       =   input("Enter Video/IGTV url: ").strip()
				__A				:    Tuple       =   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}.')



