Skip to content

A python library that wrap the graphQL API of luscious.net

License

Notifications You must be signed in to change notification settings

pyporn-san/Luscious

Repository files navigation

Python Luscious GraphQL Wrapper

Luscious is a Python library that wraps the luscious.net (NSFW) graphQL API. This is not an official API in any capacity. Please do not use this library to make an unreasonable amount of requests to the Luscious API.

Documentation

Installation

Use the package manager pip to install the latest release of luscious.

pip install luscious

Usage

from luscious import Luscious

# Instantiate a Luscious class with you username and password(optional)
Lus = Luscious("Your username", "your password")

comic = Lus.getAlbum("https://www.luscious.net/albums/mavis_dracula_316573/")

# Mavis Dracula
print(comic)

 # ['Blowjob', 'Big Breasts', 'Double Penetration', 'Hotdogging', 'Titjob', 'Anal Sex', 'Big Ass']
print([tag.name for tag in comic.tags])

# Prints a url that will take you to the download page of the comic
print(comic.downloadUrl)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GPL V3.0