Multporn class

class multporn.Multporn(url: str, proxies: dict = {}, download: bool = False, requestsParams: dict = {})

A multporn comic class

Basic Usage:
>>> from multporn import Multporn
>>> comic = Multporn("https://multporn.net/comics/between_friends")
>>> print(comic)
'Between Friends'
property artists: list[str]

Return a list of artists only present for comics most likely a single artist but multiple artists are possible

property characters: list[str]

Returns a list of characters listed in the comic Only present for comics May be empty even for comics

property contentType: str

Returns the content type of the Multporn object as a string

property contentUrls: list[str]

Return the content url of the Multporn object for picture albums and comics will return a list of images for videos will return an array with the video file link in the first index

downloadContent(root: Path | str = PosixPath('Albums'), printProgress: bool = True)

Downloads all comic pages that don’t already exist in the directory Logging can be disabled by passing false to printProgress

property exists: bool

Returns the existence status of the Multporn object

property name: str

Returns the name of the Multporn object

property ongoing: bool

Returns true if the Multporn object is ongoing Only use with comics and mangas as the concept is meaningless for videos

property pageCount: int

Return the number of pages Always 1 for videos

property sanitizedName: str

Return the sanitized name of the Multporn object

property sections: list[str]

Returns a list of sections that this comic is present in only present for comics Most likely a single section but multiple sections are possible

property tags: list[str]

Returns a list of tags empty if non found

property thumbnail: str | None

Returns the thumbnail of the Multporn object For picture album such as comics and mangas, it’s the first page of the album For videos, a screenshot generated by the website itself