Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Hatchet-powered web scraping workflows #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

bigboateng
Copy link

This pull request introduces the backend implementation for the Hatchet Scraper Example project, focusing on web scraping workflows for TechCrunch AI articles and Google News top stories. Key changes include:

  1. Implemented three main Hatchet workflows:
    ScraperWorkflow: Orchestrates the overall scraping process
    TechCrunchAIScraperWorkflow: Scrapes AI-related articles from TechCrunch
    GoogleNewsScraperWorkflow: Scrapes top stories from Google News

  2. Set up FastAPI application with CORS middleware and endpoints for initiating scraping tasks and streaming results.
    Integrated Hatchet SDK for workflow management and execution.

  3. Implemented web scraping logic using BeautifulSoup for both TechCrunch and Google News.

  4. Added error handling and retry mechanisms in scraping workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants