Random
Fetches a random manga from the currently selected source. This is useful for discovering new manga or generating recommendations.
Returns: A
Mangaobject for the randomly selected manga.Raises:
SourceWasNotDefinedif no source has been set before calling this method.NotImplementedErrorif the current source does not support random fetching.
# Example to fetch a random manga
try:
random_manga = enma.random()
print(f"Random Manga Title: {random_manga.title.english}")
except NotImplementedError:
print("Error: Random functionality not supported.")Last updated
Was this helpful?