





from datetime import datetime

import requests







def SCREAMING_SNAKE_CASE       ( lowercase_		)     -> bytes:



       """simple docstring"""

       A__   				=					'''https://downloadgram.net/wp-json/wppress/video-downloader/video?url='''
       A__   				=					requests.get(base_url + url		).json()[0]['''urls'''][0]['''src''']
       return requests.get(lowercase_		).content


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








from collections import namedtuple

import requests
from lxml import html  # type: ignore

_lowerCamelCase			:	Optional[int]							 =     namedtuple("""covid_data""", """cases deaths recovered""")







def SCREAMING_SNAKE_CASE       ( lowercase_ = "https://www.worldometers.info/coronavirus/"		)     -> covid_data:



       """simple docstring"""

       A__   				=					'''//div[@class = "maincounter-number"]/span/text()'''
       return covid_data(*html.fromstring(requests.get(lowercase_		).content		).xpath(lowercase_		)		)


_lowerCamelCase			:	Optional[int]							 =     """Total COVID-19 cases in the world: {}
Total deaths due to COVID-19 in the world: {}
Total COVID-19 patients recovered in the world: {}"""
print(fmt.format(*covid_stats()))


