An open API service indexing awesome lists of open source software.

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

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).

***