mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Update regexp for pages from Readmanga/Mintmanga (#1111)
This commit is contained in:
		
				
					committed by
					
						
						Bram van de Kerkhof
					
				
			
			
				
	
			
			
			
						parent
						
							f287d313c3
						
					
				
				
					commit
					8f9737f567
				
			@@ -118,7 +118,7 @@ class Mintmanga : ParsedHttpSource() {
 | 
			
		||||
        val endIndex = html.indexOf("], 0, false);", beginIndex)
 | 
			
		||||
        val trimmedHtml = html.substring(beginIndex, endIndex)
 | 
			
		||||
 | 
			
		||||
        val p = Pattern.compile("'.+?','.+?',\".+?\"")
 | 
			
		||||
        val p = Pattern.compile("'.*?','.*?',\".*?\"")
 | 
			
		||||
        val m = p.matcher(trimmedHtml)
 | 
			
		||||
 | 
			
		||||
        val pages = mutableListOf<Page>()
 | 
			
		||||
 
 | 
			
		||||
@@ -118,7 +118,7 @@ class Readmanga : ParsedHttpSource() {
 | 
			
		||||
        val endIndex = html.indexOf("], 0, false);", beginIndex)
 | 
			
		||||
        val trimmedHtml = html.substring(beginIndex, endIndex)
 | 
			
		||||
 | 
			
		||||
        val p = Pattern.compile("'.+?','.+?',\".+?\"")
 | 
			
		||||
        val p = Pattern.compile("'.*?','.*?',\".*?\"")
 | 
			
		||||
        val m = p.matcher(trimmedHtml)
 | 
			
		||||
 | 
			
		||||
        val pages = mutableListOf<Page>()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user