Dedao-DL是一个强大的应用程序,它提供了多种功能,使用户能够轻松地获取和分享内容。首先,用户可以下载APP课程,这些课程涵盖了各种主题和领域,如编程、设计、营销等。通过Dedao-DL,用户可以轻松地将这些课程导入到终端中查看文章内容,从而获得深入的学习体验。 此外,Dedao-DL还支持生成PDF文件,这对于需要打印或存档学习...
#builddocker build https://github.com/yann0917/dedao-dl.git#main -t dedao#docker run -v`pwd`/config.json:/app/config.json -it --rm dedao login -q docker run -v`pwd`/config.json:/app/config.json -it --rm dedao cat#查看课程docker run -v`pwd`/config.json:/app/config.json -it...
package cmd import ( "errors" "github.com/spf13/cobra" "github.com/yann0917/dedao-dl/config" ) var rootCmd = &cobra.Command{ Use: "dedao-dl", Short: "dedao-dl is a very fast dedao app course article download tools", Long: `A Fast dedao app course article download tools built wit...
渣男锡纸烫,渣女大波浪,绿茶公主切,张亮麻辣烫#抖音小助手 #爱你不止3忆遍 # 渣男锡纸烫,渣女大波浪,绿茶公主切,张亮麻辣烫#抖音小助手 #爱你不止3忆遍 # 51 踢瓶盖谁不会,看我的!#杰森斯坦森 #爱你不止3忆遍 踢瓶盖谁不会,看我的!#杰森斯坦森 #爱你不止3忆遍 60 上个视频小星星70多万,那是意外...
Breadcrumbs dedao-dl /utils / genPdf.goTop File metadata and controls Code Blame 79 lines (68 loc) · 1.62 KB Raw package utils import ( "bytes" "fmt" "os" "path/filepath" "runtime" "github.com/SebastiaanKlippert/go-wkhtmltopdf" ) type PdfOption struct { FileName string CoverPath...
Describe the bug 1、Pdf文件会有banner在下方,挡住一部分文字,每一页都是如此,如 2、311课程MD下载不了,mp3 pdf正常。提示如下 C:\Users\Y>dedao-dl dl 311 -t 3 正在生成文件:【�[37;1m发刊词 | xxxxxx�[0m】 �[31;1m失败open output\XXX\MD/发刊词 | XXX.m
{ Use: "login", Short: "登录得到 pc 端 https://www.dedao.cn", Long: `使用 dedao-dl login to login https://www.dedao.cn`, RunE: func(cmd *cobra.Command, args []string) error { if qr { err := app.LoginByQr() return err } if Cookie == "" { // defaultCookie := app....
Example: "dedao-dl dl 123", PreRunE: AuthFunc, RunE: func(cmd *cobra.Command, args []string) error { @@ -29,81 +30,132 @@ var downloadCmd = &cobra.Command{ return errors.New("文章ID错误") } } err = download(id, aid) err = download(app.CateCourse, id, aid) return err }...
package cmd import ( "fmt" "os" "strconv" "github.com/olekukonko/tablewriter" "github.com/spf13/cobra" "github.com/yann0917/dedao-dl/cmd/app" ) var topicCmd = &cobra.Command{ Use: "topic", Short: "获取推荐话题列表", Long: `使用 dedao-dl topic 获取推荐话题列表,也可获取某个话题...
#builddocker build https://github.com/yann0917/dedao-dl.git#main -t dedao#docker run -v`pwd`/config.json:/app/config.json -it --rm dedao login -q docker run -v`pwd`/config.json:/app/config.json -it --rm dedao cat#查看课程docker run -v`pwd`/config.json:/app/config.json -it...