mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Update anime-score.js
This commit is contained in:
@@ -4,12 +4,12 @@ const request = require('node-superfetch');
|
||||
const { stripIndents } = require('common-tags');
|
||||
const logos = require('../../assets/json/logos');
|
||||
const searchGraphQL = stripIndents`
|
||||
query ($page: Int, $type: MediaType, $isAdult: Boolean) {
|
||||
query ($page: Int, $type: MediaType) {
|
||||
Page (page: $page) {
|
||||
pageInfo {
|
||||
total
|
||||
}
|
||||
media (type: $type, popularity_greater: 2500, averageScore_not: 0, isAdult: $isAdult) {
|
||||
media (type: $type, popularity_greater: 2500, averageScore_not: 0, sort: POPULARITY_DESC) {
|
||||
id
|
||||
averageScore
|
||||
title {
|
||||
|
||||
Reference in New Issue
Block a user