[zh-dmzj]use muwai.com instead of dmzj.com (#7830)
* [zh-dmzj]use muwai.com instead of dmzj.com use muwai.com for v4apiUrl & v3ChapterApiUrl & imageCDNUrl * bump version
This commit is contained in:
		
							parent
							
								
									ce5dcfb042
								
							
						
					
					
						commit
						dcdc43b984
					
				@ -6,7 +6,7 @@ ext {
 | 
			
		||||
    extName = 'Dmzj'
 | 
			
		||||
    pkgNameSuffix = 'zh.dmzj'
 | 
			
		||||
    extClass = '.Dmzj'
 | 
			
		||||
    extVersionCode = 21
 | 
			
		||||
    extVersionCode = 22
 | 
			
		||||
    libVersion = '1.2'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -46,13 +46,13 @@ class Dmzj : ConfigurableSource, HttpSource() {
 | 
			
		||||
    override val name = "动漫之家"
 | 
			
		||||
    override val baseUrl = "https://m.dmzj.com"
 | 
			
		||||
    private val v3apiUrl = "https://v3api.dmzj.com"
 | 
			
		||||
    private val v3ChapterApiUrl = "https://nnv3api.dmzj.com"
 | 
			
		||||
    private val v3ChapterApiUrl = "https://nnv3api.muwai.com"
 | 
			
		||||
    // v3api now shutdown the functionality to fetch manga detail and chapter list, so move these logic to v4api
 | 
			
		||||
    private val v4apiUrl = "https://nnv4api.dmzj1.com" // https://v4api.dmzj1.com
 | 
			
		||||
    private val v4apiUrl = "https://nnv4api.muwai.com" // https://v4api.dmzj1.com
 | 
			
		||||
    private val apiUrl = "https://api.dmzj.com"
 | 
			
		||||
    private val oldPageListApiUrl = "https://api.m.dmzj.com"
 | 
			
		||||
    private val webviewPageListApiUrl = "https://m.dmzj.com/chapinfo"
 | 
			
		||||
    private val imageCDNUrl = "https://images.dmzj.com"
 | 
			
		||||
    private val imageCDNUrl = "https://images.muwai.com"
 | 
			
		||||
 | 
			
		||||
    private fun cleanUrl(url: String) = if (url.startsWith("//"))
 | 
			
		||||
        "https:$url"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user