Japscan: Fix date (#15171)
This commit is contained in:
		
							parent
							
								
									b6bb3e28bf
								
							
						
					
					
						commit
						36a6bcdd0c
					
				@ -6,7 +6,7 @@ ext {
 | 
			
		||||
    extName = 'Japscan'
 | 
			
		||||
    pkgNameSuffix = 'fr.japscan'
 | 
			
		||||
    extClass = '.Japscan'
 | 
			
		||||
    extVersionCode = 37
 | 
			
		||||
    extVersionCode = 38
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
apply from: "$rootDir/common.gradle"
 | 
			
		||||
 | 
			
		||||
@ -246,7 +246,7 @@ class Japscan : ConfigurableSource, ParsedHttpSource() {
 | 
			
		||||
        chapter.setUrlWithoutDomain(urlElement.attr("href"))
 | 
			
		||||
        chapter.name = urlElement.ownText()
 | 
			
		||||
        // Using ownText() doesn't include childs' text, like "VUS" or "RAW" badges, in the chapter name.
 | 
			
		||||
        chapter.date_upload = element.select("> span").text().trim().let { parseChapterDate(it) }
 | 
			
		||||
        chapter.date_upload = element.selectFirst("span").text().trim().let { parseChapterDate(it) }
 | 
			
		||||
        return chapter
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user