https://github.com/prasundas99/containerized-selenium-fastapi
Running a Docker Container with Fast API, and requesting data using selenium
https://github.com/prasundas99/containerized-selenium-fastapi
docker fastapi hacktoberfest selenium
Last synced: 4 months ago
JSON representation
Running a Docker Container with Fast API, and requesting data using selenium
- Host: GitHub
- URL: https://github.com/prasundas99/containerized-selenium-fastapi
- Owner: Prasundas99
- License: mit
- Created: 2021-08-24T11:01:49.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-08T04:20:11.000Z (over 3 years ago)
- Last Synced: 2025-04-11T22:10:31.193Z (about 1 year ago)
- Topics: docker, fastapi, hacktoberfest, selenium
- Language: Python
- Homepage:
- Size: 79.9 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Containerized-Selenium-FastAPI
Running a Docker Container with Fast API, and requesting data using selenium
The main objective of this repository is to deploy a Docker container with both, FastAPI and Selenium, to check the possibilities when we try to use FastAPI to receive parameters, and run a selenium process in the background to gather and parse data.
This example uses Selenium to make google search and scrap the links
## Build Setup
```
# Clone repo and cd into directory
git clone https://github.com/Prasundas99/mydiary.git
```
```
# Install dependencies locally
pip install pipenv
pip shell
pipenv install
```
```
# Docker build
docker build Containerized-Selenium-FastAPI
docker run -d -p 8080:8080 Containerized-Selenium-FastAPI
```
## About
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
### License
Released under the [MIT License](LICENSE).
***