diff --git a/README.md b/README.md index 53b90fe..d147b2f 100644 --- a/README.md +++ b/README.md @@ -7,18 +7,18 @@ - [x] m3u8 Downloader - [x] ffmpeg convert ts to mp4 (?) - [x] Clean up hlsdl tmp files - - [ ] itemimage + - [x] itemimage - [x] Check if item exists -- [ ] Uploader +- [x] Uploader - [ ] modify metadata - [x] Version check -- [ ] CLI +- [x] CLI - [X] `aixifan_config.json` Config - [x] "downloads_home_dir" - - [ ] "ia_key_file" + - [x] "ia_key_file" - [ ] "cookies_file" - [x] Download - - [ ] IA S3 Upload + - [x] IA S3 Upload - [ ] Login/Cookies for higher quality - [ ] Login/Cookies - [ ] Remove sensitive info from saved json info \ No newline at end of file diff --git a/pkg/uploader/up.go b/pkg/uploader/up.go index b94a2f2..47a0997 100644 --- a/pkg/uploader/up.go +++ b/pkg/uploader/up.go @@ -98,7 +98,7 @@ func Main(upCmd *flag.FlagSet, upDougaId string, upDelete bool) int { "external-identifier": externalIdentifiers, "subject": subject, "originalurl": {fmt.Sprintf("https://www.acfun.cn/v/ac%s_%d", dougaId, partNum)}, - "scanner": {utils.GetUA()}, + "scanner": {"saveweb/" + utils.GetUA()}, } slog.Info("Uploading", "identifier", identifier, "meta", meta) @@ -127,5 +127,6 @@ func Main(upCmd *flag.FlagSet, upDougaId string, upDelete bool) int { } slog.Info("Deleted", "dougaDir", dougaDir) } - return 1 + + return 0 }