mirror of
https://github.com/bellingcat/reddit-post-scraping-tool.git
synced 2026-06-08 03:28:30 +03:00
13 lines
346 B
Python
13 lines
346 B
Python
from reddit_post_scraping_tool.reddit_post_scraping_tool import *
|
|
|
|
|
|
def main():
|
|
try:
|
|
reddit_post_scraper()
|
|
except KeyboardInterrupt:
|
|
log.warning(f"User interruption detected.")
|
|
except Exception as e:
|
|
log.error(e)
|
|
finally:
|
|
log.info(f'Finished in {datetime.now() - start_time} seconds.')
|