Skip to content

Commit

Permalink
Update AcgMxSourceImpl.java
Browse files Browse the repository at this point in the history
  • Loading branch information
cikiPAD authored Dec 20, 2023
1 parent 7bd43b5 commit 8f19237
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/impl/AcgMxSourceImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ public List<String> getImageUrl(Map<String, Object> params) {

int count = 0;
for (Map<String, Object> one:data) {

String type = (String) one.get("type");

if ("manga".equalsIgnoreCase(type)) {
continue;
}

List<Map<String, Object>> metaPages = (List<Map<String, Object>>) one.get("meta_pages");
if (metaPages!=null && !metaPages.isEmpty()) {
for (Map<String, Object> onePage: metaPages) {
Expand Down

0 comments on commit 8f19237

Please sign in to comment.