diff --git a/app/src/main/java/eu/kanade/mangafeed/data/source/base/Source.java b/app/src/main/java/eu/kanade/mangafeed/data/source/base/Source.java index 6955def23e..fd669d3c00 100644 --- a/app/src/main/java/eu/kanade/mangafeed/data/source/base/Source.java +++ b/app/src/main/java/eu/kanade/mangafeed/data/source/base/Source.java @@ -84,8 +84,12 @@ public abstract class Source extends BaseSource { public Observable> pullChaptersFromNetwork(final String mangaUrl) { return networkService .getStringResponse(getBaseUrl() + mangaUrl, requestHeaders, null) - .flatMap(unparsedHtml -> - Observable.just(parseHtmlToChapters(unparsedHtml))); + .flatMap(unparsedHtml -> { + List chapters = parseHtmlToChapters(unparsedHtml); + return !chapters.isEmpty() ? + Observable.just(chapters) : + Observable.error(new Exception("No chapters found")); + }); } public Observable> getCachedPageListOrPullFromNetwork(final String chapterUrl) {