Files
facebook-downloader/facebook_downloader/main.py
Richard Mwewa 07bf9a0220 Update main.py
2023-01-02 04:49:33 +02:00

13 lines
307 B
Python

from facebook_downloader.downloader import FacebookDownloader
def main():
try:
start = FacebookDownloader()
start.download_video()
except KeyboardInterrupt:
print('[WARNING] Process interrupted with Ctrl+C.')
except Exception as e:
print('[ERROR]', e)