Unofficial API for getcomics.org using Selectolax scraper and Fast API
- Search for comics by title or keywords
- Get the latest comics
- Search for comics by tag
- Retrieve detailed metadata for each comic, including title, year, cover image, size, description and download links
This is the list of error codes
Code | Description |
---|---|
200 | OK |
201 | Articles not found |
202 | Invalid page number |
-
Clone the repository:
git clone https://github.com/Jupiee/getcomics-api.git
-
Install required dependencies:pip install -r requirements.txt
pip install -r requirements.txt
-
First create a .env file and fill it with your mongodb database URI:
URI= YOUR_MONGODB_URI
-
Run the main.py file
-
First create a .env file and fill it with your mongodb database URI:
URI= YOUR_MONGODB_URI
-
Build the image:
docker build -t getcomics-api .
-
Run the image:
docker run -p 80:80 getcomics-api
Contributions to this project are welcome! If you find any bugs or have suggestions for new features, please open an issue or submit a pull request.