fromContent

open override fun fromContent(content: String): News?(source)


fun fromContent(content: String, newsId: Int = 0): News?(source)

Parse the content from Tibia.com into a news article.

Parameters

newsId

The news ID to assign to the article, since it is not possible to know this only from the HTML content.