Closed heya0 closed 1 year ago
现在下载的时候报错,我下载的是训练营里面的视频,选择视频下载的时候报下面这个错误,用的版本是0.10.5: An error occurred: json: cannot unmarshal array into Go struct field V1ArticleResponse.data of type struct { ArticleContent string "json:\"article_content\""; ArticleTitle string "json:\"article_title\""; InlineVideoSubtitles []struct { VideoURL string "json:\"video_url\""; VideoFreeURL string "json:\"video_free_url\""; VideoVid string "json:\"video_vid\""; VideoSubtitle string "json:\"video_subtitle\""; VideoFreeVid string "json:\"video_free_vid\""; VideoFreeSubtitle string "json:\"video_free_subtitle\"" } "json:\"inline_video_subtitles\""; AudioDownloadURL string "json:\"audio_download_url\"" }
现在下载的时候报错,我下载的是训练营里面的视频,选择视频下载的时候报下面这个错误,用的版本是0.10.5: An error occurred: json: cannot unmarshal array into Go struct field V1ArticleResponse.data of type struct { ArticleContent string "json:"article_content""; ArticleTitle string "json:"article_title""; InlineVideoSubtitles []struct { VideoURL string "json:"video_url""; VideoFreeURL string "json:"video_free_url""; VideoVid string "json:"video_vid""; VideoSubtitle string "json:"video_subtitle""; VideoFreeVid string "json:"video_free_vid""; VideoFreeSubtitle string "json:"video_free_subtitle"" } "json:"inline_video_subtitles""; AudioDownloadURL string "json:"audio_download_url"" }
哪个训练营?这两天我找个免费的训练营看下这个问题
现在下载的时候报错,我下载的是训练营里面的视频,选择视频下载的时候报下面这个错误,用的版本是0.10.5: An error occurred: json: cannot unmarshal array into Go struct field V1ArticleResponse.data of type struct { ArticleContent string "json:"article_content""; ArticleTitle string "json:"article_title""; InlineVideoSubtitles []struct { VideoURL string "json:"video_url""; VideoFreeURL string "json:"video_free_url""; VideoVid string "json:"video_vid""; VideoSubtitle string "json:"video_subtitle""; VideoFreeVid string "json:"video_free_vid""; VideoFreeSubtitle string "json:"video_free_subtitle"" } "json:"inline_video_subtitles""; AudioDownloadURL string "json:"audio_download_url"" }
哪个训练营?这两天我找个免费的训练营看下这个问题
高级 Java 工程师体系课
@yaorp ok, 我先找个免费的看下,感谢提供报错信息
@yaorp @heya0 可以试试 0.10.6-beta 这个版本
@yaorp @heya0 可以试试 0.10.6-beta 这个版本
谢谢,可以下载了
已解决
]# ./geektime-downloader -u "162578497xx" 登录成功 正在下载专栏 《6 小时掌握 Docker 与 K8s 架构核心》 中的所有文章 Failed to write to log, invalid argument An error occurred: json: cannot unmarshal array into Go struct field V1ArticleResponse.data of type struct { ArticleContent string "json:\"article_content\""; ArticleTitle string "json:\"article_title\""; InlineVideoSubtitles []struct { VideoURL string "json:\"video_url\""; VideoFreeURL string "json:\"video_free_url\""; VideoVid string "json:\"video_vid\""; VideoSubtitle string "json:\"video_subtitle\""; VideoFreeVid string "json:\"video_free_vid\""; VideoFreeSubtitle string "json:\"video_free_subtitle\"" } "json:\"inline_video_subtitles\""; AudioDownloadURL string "json:\"audio_download_url\"" }