fix earlymanga chapter page & clean chapter name (#5867)
This commit is contained in:
		
							parent
							
								
									df3b2f29d6
								
							
						
					
					
						commit
						78cb4e96b4
					
				| @ -5,7 +5,7 @@ ext { | ||||
|     extName = 'EarlyManga' | ||||
|     pkgNameSuffix = 'en.earlymanga' | ||||
|     extClass = '.EarlyManga' | ||||
|     extVersionCode = 4 | ||||
|     extVersionCode = 5 | ||||
|     libVersion = '1.2' | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -119,7 +119,8 @@ class EarlyManga : ParsedHttpSource() { | ||||
| 
 | ||||
|     override fun chapterFromElement(element: Element) = SChapter.create().apply { | ||||
|         setUrlWithoutDomain(element.select(".col-lg-5 a").attr("href")) | ||||
|         name = element.select(".col-lg-5 a").text() | ||||
|         val access = element.select(".col-lg-5 a div").text() | ||||
|         name = element.select(".col-lg-5 a").text().substringAfter(access) | ||||
|         date_upload = parseChapterDate(element.select(".ml-1").attr("title")) | ||||
|     } | ||||
| 
 | ||||
| @ -129,7 +130,7 @@ class EarlyManga : ParsedHttpSource() { | ||||
| 
 | ||||
|     // pages | ||||
|     override fun pageListParse(document: Document): List<Page> { | ||||
|         return document.select(".chapter-images-container-inside > img").mapIndexed { i, element -> | ||||
|         return document.select(".chapter-images-container-inside .interior img").mapIndexed { i, element -> | ||||
|             Page(i, "", element.attr("abs:src")) | ||||
|         } | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Riztard Lanthorn
						Riztard Lanthorn