Manhwa latino (#10877)

* First commit Mahnwa-Latino Extension.

* manhwa-latino: Implementing find function

TODO: only works with text, filter not implemented yet

* manhwa-latino Add Parser to finde the information of Manhwa-Latino

The parser 'ManhwaLatinoSiteParser.kt' make the whole magic to find the
information of the Website.

Mudularize The code and adding documentation

* manhwa-latino: Adding Logos der Extension

TODO: I am not to happy, i will check it later.

* manhwa-latino: Adding Tags to Genre Combobox

* manhwa-latino: Adding Headers to prevent error 404

The headers are necesary to prevent error 403 by downloading images.

* manhwa-latino: Tags addded into Manga Description Page

Status from Manga readed from Tags

* manhwa-latino: Modularize Code

* manhwa-latino: Adding Uploaddate for Chapters

* manhwa-latino: Bug to get Chapter Number fixed

* manhwa-latino: Logo 0.2

* manhwa-latino: Versionb 1.2.10

Adding Comments to ManhwaLatinoSiteParser

* manhwa-latino: Remove logo_model directory

* manhwa-latino: Show Seconds after Release a new Chapter

* manhwa-latino: Fix for Cloudflare

* manhwa-latino: Try to fix Cloudflare ByPass

Adding isNsfw to build.gradle

* manhwa-latino: Update from parser after website update

* manhwa-latino: Deactivate lastest manga and new Client

The new website from Manhwa-Latino doesnt show lastest mangas.

* manhwa-latino: Adding Manifest to load url-adress

The extesion will bi able to open and find mangas with the url.
TODO: first version. NOT READY YET.

* manhwa-latino: Fix to find Manga Status information

* Manhwa-Latino: The Extension can open a Link

Now the extension can recognize a link from Manhwa-Latino and
show the manga from the link in the app.

* Manhwa-Latino: Modularize Code and Activity for Url added

* Manhwa-Latino: Add Constant-File.

This file contain all contants for this extension.

* manhwa-latino Url from the Website has changed.

from https://manhwa-latino.com => https://manhwa-es.com

* manhwa-latino Url update on manifest

* manhwa-latino Fix to get ThumbnailUrl and Url from Slider

The Slider from Manhwa-Latino was updated and the parser was updated as
well.

Co-authored-by: Luis Beroiza <luisalberto.beroizaosses@intern.osp-dd.de>
Co-authored-by: AlberyKous <extreme_rvd@hotmail.com>
This commit is contained in:
Luis Alberto 2022-02-21 00:37:31 +01:00 committed by GitHub
parent e76f62f8c8
commit 5d98d87628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="manhwa-latino.com"
android:host="manhwa-es.com"
android:pathPattern="/..*/..*"
android:scheme="https" />
</intent-filter>

View File

@ -5,7 +5,7 @@ ext {
extName = 'Manhwa-Latino'
pkgNameSuffix = 'es.manhwalatino'
extClass = '.ManhwaLatino'
extVersionCode = 15
extVersionCode = 16
isNsfw = true
}

View File

@ -28,9 +28,9 @@ object MLConstants {
const val mangaDetailsAttributes: String = "div.summary_content div.post-content_item"
const val searchSiteMangasHTMLSelector = "div.c-tabs-item__content"
const val genreSiteMangasHTMLSelector = "div.page-item-detail.manga"
const val latestUpdatesSelectorUrl = "div.slider__thumb_item > a"
const val latestUpdatesSelectorThumbnailUrl = "div.slider__thumb_item > a > img"
const val latestUpdatesSelectorTitle = "div.slider__content h4"
const val latestUpdatesSelectorUrl = "div.slider__content h4 a"
const val chapterListParseSelector = "li.wp-manga-chapter"
const val chapterLinkParser = "a"
const val chapterReleaseDateLinkParser = "span.chapter-release-date a"

View File

@ -28,7 +28,7 @@ class ManhwaLatino : ParsedHttpSource() {
/**
* Base url of the website without the trailing slash, like: http://mysite.com
*/
override val baseUrl = "https://manhwa-latino.com"
override val baseUrl = "https://manhwa-es.com"
/**
* Header for Request

View File

@ -75,7 +75,7 @@ class ManhwaLatinoSiteParser(
manga.url =
getUrlWithoutDomain(element.select(MLConstants.latestUpdatesSelectorUrl).first().attr("abs:href"))
manga.title = element.select(MLConstants.latestUpdatesSelectorTitle).text().trim()
manga.thumbnail_url = element.select(MLConstants.latestUpdatesSelectorThumbnailUrl).attr("abs:src").replace("//", "/")
manga.thumbnail_url = element.select(MLConstants.latestUpdatesSelectorThumbnailUrl).attr("abs:data-src").replace("//", "/")
return manga
}