


from datetime import datetime

import requests






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


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






def 		_A		(		_lowercase )					-> int:


     """simple docstring"""


     assert column_title.isupper()
     __UpperCamelCase =			0
     __UpperCamelCase =			len(_lowercase ) - 1
     __UpperCamelCase =			0

     while index >= 0:
          __UpperCamelCase =			(ord(column_title[index] ) - 64) * pow(26					,  _lowercase )
          answer += value
          power += 1
          index -= 1

     return answer


if __name__ == "__main__":
    from doctest import testmod

    testmod()


