mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 16:20:48 +01:00
Exclude novels from MAL. Fix #19
This commit is contained in:
parent
24a0a3b96f
commit
1c465a6e59
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ public class MyAnimeList extends MangaSyncService {
|
||||||
return networkService.getStringResponse(getSearchUrl(query), headers, null)
|
return networkService.getStringResponse(getSearchUrl(query), headers, null)
|
||||||
.map(Jsoup::parse)
|
.map(Jsoup::parse)
|
||||||
.flatMap(doc -> Observable.from(doc.select("entry")))
|
.flatMap(doc -> Observable.from(doc.select("entry")))
|
||||||
|
.filter(entry -> !entry.select("type").text().equals("Novel"))
|
||||||
.map(entry -> {
|
.map(entry -> {
|
||||||
MangaSync manga = MangaSync.create(this);
|
MangaSync manga = MangaSync.create(this);
|
||||||
manga.title = entry.select("title").first().text();
|
manga.title = entry.select("title").first().text();
|
||||||
|
|
Loading…
Reference in a new issue