mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-06-04 11:24:40 +08:00
11 lines
234 B
Python
11 lines
234 B
Python
import schedule
|
|
import time
|
|
from firecrawl_scraper import save_firecrawl_news_data
|
|
|
|
# Schedule the scraper to run every hour
|
|
schedule.every().hour.do(save_firecrawl_news_data)
|
|
|
|
while True:
|
|
schedule.run_pending()
|
|
time.sleep(1)
|