Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Learn how to scrape websites with Python, Selenium, Requests HTML, Celery, FastAPI, & NoSQL with Cassandra via AstraDB.

License

NotificationsYou must be signed in to change notification settings

codingforentrepreneurs/Scrape-Websites-with-Python-FastAPI-Celery-NoSQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn how to scrape websites with Python, Selenium, Requests HTML, Celery, FastAPI, & NoSQL.

Here's what each tool is used for:

  • Python 3.9download - programming the logic.
  • AstraDBsign up - highly perfomant and scalable database service by DataStax. AstraDB is a Cassandra NoSQL Database.Cassandra is used by Netflix, Discord, Apple, and many others to handle astonding amounts of data.
  • Seleniumdocs - an automated web browsing experience that allows:
    • Run all web-browser actions through code
    • Loads JavaScript heavy websites
    • Can perform standard user interaction like clicks, form submits, logins, etc.
  • Requests HTMLdocs - we're going to use this to parse an HTML document extracted from Selenium
  • Celerydocs - Celery providers worker processes that will allow us to schedule when we need to scrape websites. We'll be usingredis as our task queue.
  • FastAPIdocs - as a web application framework to Display and monitor web scraping results from anywhere

This series is broken up into 4 parts:

  • Scraping How to scrape and parse data from nearly any website with Selenium & Requests HTML.
  • Data models how to store and validate data withcassandra-driver,pydantic, andAstraDB.
  • Worker & Scheduling how to schedule periodic tasks (ie scraping) integrated with Redis & AstraDB
  • Presentation How to combine the above steps in as robust web application service

Setup your system.

Below is a preflight checklist to ensure you system is fully setup to work with this course. All guides and setup can be found in thesetup directory of this repo.

Preflight checklist

  • [] Install Selenium & Chromedriver -setup guide
  • [] Install Redis -setup guide
  • [] Create a virtual environment & install dependencies
  • [] Setup an account with DataStax
  • [] Create your first AstraDB and get API credentials
  • [] Usecassandra-driver to verify your connection to AstraDB

About

Learn how to scrape websites with Python, Selenium, Requests HTML, Celery, FastAPI, & NoSQL with Cassandra via AstraDB.

Topics

Resources

License

Stars

Watchers

Forks

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp