mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Exclude novels from MAL. Fix #19
This commit is contained in:
		| @@ -105,6 +105,7 @@ public class MyAnimeList extends MangaSyncService { | ||||
|         return networkService.getStringResponse(getSearchUrl(query), headers, null) | ||||
|                 .map(Jsoup::parse) | ||||
|                 .flatMap(doc -> Observable.from(doc.select("entry"))) | ||||
|                 .filter(entry -> !entry.select("type").text().equals("Novel")) | ||||
|                 .map(entry -> { | ||||
|                     MangaSync manga = MangaSync.create(this); | ||||
|                     manga.title = entry.select("title").first().text(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user