Wiemanga fix images not loading (#217)
* fixed images not loading added icon * updated build.gradle
This commit is contained in:
parent
3f14d851e1
commit
93c84ee183
@ -5,9 +5,9 @@ ext {
|
|||||||
appName = 'Tachiyomi: WieManga'
|
appName = 'Tachiyomi: WieManga'
|
||||||
pkgNameSuffix = "de.wiemanga"
|
pkgNameSuffix = "de.wiemanga"
|
||||||
extClass = '.WieManga'
|
extClass = '.WieManga'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
extVersionSuffix = 1
|
extVersionSuffix = 0
|
||||||
libVersion = '1.0'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
BIN
src/de/wiemanga/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/de/wiemanga/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
BIN
src/de/wiemanga/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/de/wiemanga/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
BIN
src/de/wiemanga/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/de/wiemanga/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.7 KiB |
BIN
src/de/wiemanga/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/de/wiemanga/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.8 KiB |
BIN
src/de/wiemanga/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/de/wiemanga/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
src/de/wiemanga/res/web_hi_res_512.png
Normal file
BIN
src/de/wiemanga/res/web_hi_res_512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
@ -17,12 +17,16 @@ class WieManga : ParsedHttpSource() {
|
|||||||
|
|
||||||
override val name = "Wie Manga!"
|
override val name = "Wie Manga!"
|
||||||
|
|
||||||
override val baseUrl = "http://www.wiemanga.com"
|
override val baseUrl = "https://www.wiemanga.com"
|
||||||
|
|
||||||
override val lang = "de"
|
override val lang = "de"
|
||||||
|
|
||||||
override val supportsLatest = true
|
override val supportsLatest = true
|
||||||
|
|
||||||
|
private fun imageHeader(refer: String) = super.headersBuilder()
|
||||||
|
.add("Referer", refer)
|
||||||
|
.build()
|
||||||
|
|
||||||
override fun popularMangaSelector() = ".booklist td > div"
|
override fun popularMangaSelector() = ".booklist td > div"
|
||||||
|
|
||||||
override fun latestUpdatesSelector() = ".booklist td > div"
|
override fun latestUpdatesSelector() = ".booklist td > div"
|
||||||
@ -117,6 +121,10 @@ class WieManga : ParsedHttpSource() {
|
|||||||
return pages
|
return pages
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun imageUrlRequest(page: Page): Request {
|
||||||
|
return GET(page.url, imageHeader(page.url))
|
||||||
|
}
|
||||||
|
|
||||||
override fun imageUrlParse(document: Document) = document.select("img#comicpic").first().attr("src")
|
override fun imageUrlParse(document: Document) = document.select("img#comicpic").first().attr("src")
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user