pull/1298/head
gedoor 3 years ago
parent f9e5a05fbe
commit bba6281519
  1. 2
      app/src/main/java/io/legado/app/help/DirectLinkUpload.kt

@ -23,7 +23,7 @@ object DirectLinkUpload {
val analyzeRule = AnalyzeRule(RuleData()).setContent(res.body, res.url) val analyzeRule = AnalyzeRule(RuleData()).setContent(res.body, res.url)
val downloadUrl = analyzeRule.getString(downloadUrlRule) val downloadUrl = analyzeRule.getString(downloadUrlRule)
if (downloadUrl.isBlank()) { if (downloadUrl.isBlank()) {
error("上传失败") error("上传失败,${res.body}")
} }
return downloadUrl return downloadUrl
} }

Loading…
Cancel
Save