



"""simple docstring"""







from datetime import datetime

import requests



def      __UpperCAmelCase      (    __lowerCamelCase	)							->      int:
		lowercase__   :    List[Any]				=			'https://downloadgram.net/wp-json/wppress/video-downloader/video?url='
		lowercase__   :    Union[str, Any]				=			requests.get(base_url + url	).json()[0]['urls'][0]['src']
		return requests.get(SCREAMING_SNAKE_CASE_	).content


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



import math

def 	snake_case__			(    SCREAMING_SNAKE_CASE_		:    int			):



     '''simple docstring'''





     lowercase__    :   Optional[Any]      =       []
     lowercase__    :   str      =       2
     lowercase__    :   Optional[Any]      =       int(math.sqrt(SCREAMING_SNAKE_CASE_			)			)  # Size of every segment
     lowercase__    :   Dict      =       [True] * (end + 1)
     lowercase__    :   Union[str, Any]      =       []

     while start <= end:
          if temp[start] is True:
               in_prime.append(SCREAMING_SNAKE_CASE_			)
               for i in range(start * start	,     end + 1	,     SCREAMING_SNAKE_CASE_			):
                    lowercase__    :   int      =       False
          start += 1
     prime += in_prime

     lowercase__    :   Optional[int]      =       end + 1
     lowercase__    :   List[str]      =       min(2 * end	,     SCREAMING_SNAKE_CASE_			)

     while low <= n:
          lowercase__    :   str      =       [True] * (high - low + 1)
          for each in in_prime:
               lowercase__    :   str      =       math.floor(low / each			) * each
               if t < low:
                    t += each

               for j in range(SCREAMING_SNAKE_CASE_	,     high + 1	,     SCREAMING_SNAKE_CASE_			):
                    lowercase__    :   Optional[Any]      =       False

          for j in range(len(SCREAMING_SNAKE_CASE_			)			):
               if temp[j] is True:
                    prime.append(j + low			)

          lowercase__    :   Optional[Any]      =       high + 1
          lowercase__    :   Optional[int]      =       min(high + end	,     SCREAMING_SNAKE_CASE_			)

     return prime

print(sieve(10**6))

