diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index d98a4b5..6e06605 100644 Binary files a/.idea/caches/build_file_checksums.ser and b/.idea/caches/build_file_checksums.ser differ diff --git a/app/build.gradle b/app/build.gradle index 242ef6d..4a79d7f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -116,5 +116,4 @@ dependencies { implementation "com.caverock:androidsvg-aar:1.4" implementation "com.umeng.umsdk:common:9.3.8" implementation "com.umeng.umsdk:asms:1.2.2" - implementation "com.umeng.umsdk:apm:1.2.0" } diff --git a/app/src/main/java/soko/ekibun/bangumi/api/github/Github.kt b/app/src/main/java/soko/ekibun/bangumi/api/github/Github.kt index e237bc1..2150ff0 100644 --- a/app/src/main/java/soko/ekibun/bangumi/api/github/Github.kt +++ b/app/src/main/java/soko/ekibun/bangumi/api/github/Github.kt @@ -45,7 +45,7 @@ object Github { return withContext(Dispatchers.IO) { JsonUtil.toEntity>( HttpUtil.fetch( - "$JSDELIVR_SERVER_API/gh/ekibun/bangumi_onair/calendar.json", + "$JSDELIVR_SERVER_API/gh/ekibot/bangumi-onair/calendar.json", JSDELIVR_REQUEST_OPTION ).body!!.string() )!! @@ -60,7 +60,7 @@ object Github { return withContext(Dispatchers.IO) { JsonUtil.toEntity( HttpUtil.fetch( - "$JSDELIVR_SERVER_API/gh/ekibun/bangumi_onair/onair/${id / 1000}/$id.json", + "$JSDELIVR_SERVER_API/gh/ekibot/bangumi-onair/onair/${id / 1000}/$id.json", JSDELIVR_REQUEST_OPTION ).body?.string() ?: "" ) @@ -74,12 +74,12 @@ object Github { suspend fun getSeason(id: Int): List? { return withContext(Dispatchers.IO) { val mapId = HttpUtil.fetch( - "$JSDELIVR_SERVER_API/gh/ekibun/bangumi_link/node/${id / 1000}/$id", + "$JSDELIVR_SERVER_API/gh/ekibot/bangumi-link/node/${id / 1000}/$id", JSDELIVR_REQUEST_OPTION ).body?.string()?.toIntOrNull() ?: return@withContext null JsonUtil.toEntity( HttpUtil.fetch( - "$JSDELIVR_SERVER_API/gh/ekibun/bangumi_link/map/${mapId / 1000}/$mapId.json", + "$JSDELIVR_SERVER_API/gh/ekibot/bangumi-link/map/${mapId / 1000}/$mapId.json", JSDELIVR_REQUEST_OPTION ).body?.string() ?: "" )?.let {