HHS Update Chapter Image Link (#7665)
* Update build.gradle * Create HomeHeroScans.kt
This commit is contained in:
		
							parent
							
								
									488889f170
								
							
						
					
					
						commit
						745e57f4e6
					
				| @ -6,7 +6,7 @@ ext { | ||||
|     extName = 'Home Hero Scans' | ||||
|     pkgNameSuffix = "en.homeheroscans" | ||||
|     extClass = '.HomeHeroScans' | ||||
|     extVersionCode = 4 | ||||
|     extVersionCode = 5 | ||||
|     libVersion = '1.2' | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -68,7 +68,7 @@ open class HomeHeroScans : HttpSource() { | ||||
|                 genre = jsonObj["genre"]!!.jsonPrimitive.content | ||||
|                 title = jsonObj["title"]!!.jsonPrimitive.content | ||||
|                 thumbnail_url = baseUrl + jsonObj["cover"]!!.jsonPrimitive.content | ||||
|                 url =  "/series?series=" + entry.key | ||||
|                 url = "/series?series=" + entry.key | ||||
|                 status = SManga.ONGOING | ||||
|             } | ||||
|         } | ||||
| @ -173,7 +173,7 @@ open class HomeHeroScans : HttpSource() { | ||||
|             } | ||||
|         }.map { numpages -> | ||||
|             (0 until numpages).toList().map { | ||||
|                 Page(it, "", "https://raw.githubusercontent.com/kbhuynh/mhh-chapters/master/$series/$chapternum/$it.png") | ||||
|                 Page(it, "", "$baseUrl/api/image?key=$series/$chapternum/webp/$it.webp") | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 FourTOne5
						FourTOne5