mirror of
https://github.com/bellingcat/facebook-downloader.git
synced 2026-06-13 05:58:31 +03:00
12 lines
306 B
Python
12 lines
306 B
Python
from facebook_downloader.downloader import FacebookDownloader
|
|
|
|
def main():
|
|
try:
|
|
start = FacebookDownloader()
|
|
start.download_video()
|
|
|
|
except KeyboardInterrupt:
|
|
print('Process interrupted with Ctrl+C.')
|
|
|
|
except Exception as e:
|
|
print('An error occured:', e) |