Skip to content

jjeanjacques10/mangajj-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda MangaJJ

Report Bug · Request Feature

Jean Jacques Barros Repository size GitHub last commit License GitHub Pull Requests Stargazers

AWS Function to extract manga chapters from websites to mangaJJ.

Getting Started

Use the SAM CLI to build and test locally

Running lambda function

sam build --use-container
sam local invoke MangaJJFunction --event events/event.json
# or
sam local start-api

Unit tests

Tests are defined in the tests folder in this project. Use PIP to install the pytest and run unit tests.

pip install pytest pytest-mock --user
python -m pytest tests/ -v

API Contract

  • GET /chapter?title=naruto&chapter=1&source=muito_manga
{
    "manga_title": "naruto",
    "chapter_number": "1",
    "source": "muito_manga",
    "total_pages": 49,
    "pages": [
        "https://cdn.statically.io/img/imgs.muitomanga.com/f=auto/imgs/naruto/1/1.jpg",
        "https://cdn.statically.io/img/imgs.muitomanga.com/f=auto/imgs/naruto/1/2.jpg",
        "https://cdn.statically.io/img/imgs.muitomanga.com/f=auto/imgs/naruto/1/3.jpg",
        "https://cdn.statically.io/img/imgs.muitomanga.com/f=auto/imgs/naruto/1/4.jpg",
        "https://cdn.statically.io/img/imgs.muitomanga.com/f=auto/imgs/naruto/1/5.jpg",
        <...>
    ]
}

Developed by Jean Jacques Barros

About

AWS Function to extract manga chapters from websites to mangaJJ database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages