Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to build a scalable web scraping API for large-scale data collection using FastAPI and Python in this comprehensive tutorial. Follow along as the instructor demonstrates the entire process, from setting up a server to deploying the API. Create a new Linode instance, configure it for deployment, and write the API code using FastAPI. Explore how to create roots and endpoints, build web scraping code, and implement the scraping logic. Test the API locally and with Uvicorn before moving the code to the Linode server. Set up a virtual environment, make the API publicly available, and configure FastAPI to run automatically. Gain insights into viewing general and error logs, and learn how to test the API using Postman. By the end of this tutorial, you'll have a fully functional, scalable web scraping API ready for large-scale data collection projects.
Syllabus
- Introduction
- Setup Server
- Create a new Linode
- Configure Linode for deployment
- Write API code
- Use FastAPI
- Create roots & end points
- Build Web scraping code
- Write Web scraping logic
- Test the API locally
- Test with Uvicorn
- Move the code to the Linode
- Create a virtual environment using Python
- Make API publicly available
- Configure FastAPI to run automatically
- View the general & error logs
- Test the API using Postman
- Conclusion
Taught by
Linode