parent
							
								
									864f0d370c
								
							
						
					
					
						commit
						dfbd58920a
					
				@ -5,8 +5,8 @@ ext {
 | 
			
		||||
    appName = 'Tachiyomi: RawQQ'
 | 
			
		||||
    pkgNameSuffix = 'ja.rawqq'
 | 
			
		||||
    extClass = '.Rawqq'
 | 
			
		||||
    extVersionCode = 1
 | 
			
		||||
    extVersionSuffix = 0
 | 
			
		||||
    extVersionCode = 2
 | 
			
		||||
    extVersionSuffix = 1
 | 
			
		||||
    libVersion = '1.2'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -3,6 +3,7 @@ package eu.kanade.tachiyomi.extension.ja.rawqq
 | 
			
		||||
import eu.kanade.tachiyomi.network.GET
 | 
			
		||||
import eu.kanade.tachiyomi.source.model.*
 | 
			
		||||
import eu.kanade.tachiyomi.source.online.ParsedHttpSource
 | 
			
		||||
import okhttp3.Headers
 | 
			
		||||
import okhttp3.HttpUrl
 | 
			
		||||
import okhttp3.Request
 | 
			
		||||
import org.jsoup.nodes.Document
 | 
			
		||||
@ -162,6 +163,16 @@ class Rawqq : ParsedHttpSource() {
 | 
			
		||||
 | 
			
		||||
    override fun imageUrlParse(document: Document) = ""
 | 
			
		||||
 | 
			
		||||
    override fun imageRequest(page: Page): Request {
 | 
			
		||||
        if (page.imageUrl!!.contains("lhscanlation.club")) {
 | 
			
		||||
            val imgHeader = Headers.Builder().apply {
 | 
			
		||||
                add("Referer", "https://lhscan.net")
 | 
			
		||||
            }.build()
 | 
			
		||||
            return GET(page.imageUrl!!, imgHeader)
 | 
			
		||||
        }
 | 
			
		||||
        return GET(page.imageUrl!!)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private class TextField(name: String, val key: String) : Filter.Text(name)
 | 
			
		||||
    private class Status : Filter.Select<String>("Status", arrayOf("Any", "Completed", "Ongoing"))
 | 
			
		||||
    private class GenreList(genres: List<Genre>) : Filter.Group<Genre>("Genre", genres)
 | 
			
		||||
 | 
			
		||||
@ -5,8 +5,8 @@ ext {
 | 
			
		||||
    appName = 'Tachiyomi: RawLH'
 | 
			
		||||
    pkgNameSuffix = 'ja.rawlh'
 | 
			
		||||
    extClass = '.Rawlh'
 | 
			
		||||
    extVersionCode = 4
 | 
			
		||||
    extVersionSuffix = 2
 | 
			
		||||
    extVersionCode = 5
 | 
			
		||||
    extVersionSuffix = 3
 | 
			
		||||
    libVersion = '1.2'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -3,6 +3,7 @@ package eu.kanade.tachiyomi.extension.ja.rawlh
 | 
			
		||||
import eu.kanade.tachiyomi.network.GET
 | 
			
		||||
import eu.kanade.tachiyomi.source.model.*
 | 
			
		||||
import eu.kanade.tachiyomi.source.online.ParsedHttpSource
 | 
			
		||||
import okhttp3.Headers
 | 
			
		||||
import okhttp3.HttpUrl
 | 
			
		||||
import okhttp3.Request
 | 
			
		||||
import org.jsoup.nodes.Document
 | 
			
		||||
@ -159,6 +160,13 @@ class Rawlh : ParsedHttpSource() {
 | 
			
		||||
 | 
			
		||||
    override fun imageUrlParse(document: Document) = ""
 | 
			
		||||
 | 
			
		||||
    override fun imageRequest(page: Page): Request {
 | 
			
		||||
        val imgHeader = Headers.Builder().apply {
 | 
			
		||||
            add("Referer", baseUrl)
 | 
			
		||||
        }.build()
 | 
			
		||||
        return GET(page.imageUrl!!, imgHeader)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private class TextField(name: String, val key: String) : Filter.Text(name)
 | 
			
		||||
    private class Status : Filter.Select<String>("Status", arrayOf("Any", "Completed", "Ongoing"))
 | 
			
		||||
    private class GenreList(genres: List<Genre>) : Filter.Group<Genre>("Genre", genres)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user