Code Monkey home page Code Monkey logo

dhbooker's People

Contributors

zsakvo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dhbooker's Issues

缺少参数

不知为何,总是提示【缺少参数】,用户名填的是手机号

IMG_20190806_165359_1

仓库转移

近期重写了一下此工具,由于两次编写时间相隔过于久远,代码并无关联,所以采取了重开新仓库的方案。如有使用需求可以访问
https://github.com/zsakvo/Cirno-go 获取并编译之。

希望能增加圖片功能

希望使用epub模式時, 下載時能連圖片一起下載
txt 則是標記註明有圖 "圖:XXX" (圖片名), 而不是 次處應有圖片 請更新..

貌似解密出问题了?runtime error: index out of range

dhbooker-win64.exe -b 100069646

《方洲猎国志》,共148章
 0 / 148 [------------------------------------------------------------------------------------------]  
 0.00%panic: runtime error: index out of range

goroutine 108 [running]:
main.PKCS7UnPadding(...)
        /Users/zsakvo/project/dhbooker/decode.go:53
main.AESDecrypt(0xc000c55d82, 0x20, 0x9d9450, 0x0, 0x0, 0x0, 0x0, 0x0)
        /Users/zsakvo/project/dhbooker/decode.go:46 +0x207
main.decode(0x0, 0x0, 0xc000c55d82, 0x20, 0x0, 0x0)
        /Users/zsakvo/project/dhbooker/decode.go:61 +0x9c
main.getChapterContent(0xc000292a50, 0x9, 0x9, 0x73fd55, 0x4)
        /Users/zsakvo/project/dhbooker/ciweimao.go:168 +0xa41
main.writeChapterTemp(0xc000292a50, 0x9, 0x94)
        /Users/zsakvo/project/dhbooker/ciweimao.go:191 +0x105
created by main.downloadChapters
        /Users/zsakvo/project/dhbooker/ciweimao.go:72 +0x13c

conf.ini

[account]
# 用户名,必填
username = ***
# 密码,必填
password = ***

[token]
# 自动生成,请勿修改
token = ***

[path]
# 临时目录,必填
tmp = C:\Users\***\Desktop\dhbooker\tmp
# 输出目录,必填
out = C:\Users\***\Desktop\dhbooker\output

panic: runtime error: index out of range

在按照要求填写好conf.ini,且对main.go进行了编译后,在执行时遇到了如下的问题:
p.s. 同样的问题在6月3日的issue里也出现过。

input:

dhbooker-master -b ********

output:

0 / 536 [----------------------------------------------------------------------------------------------------] 0.00%panic: runtime error: index out of range
goroutine 186 [running]:
main.PKCS7UnPadding(...)
D:/dhbooker-master/dhbooker-master/decode.go:53
main.AESDecrypt(0xc0013f20c2, 0x20, 0x9d9450, 0x0, 0x0, 0x0, 0x0, 0x0)
D:/dhbooker-master/dhbooker-master/decode.go:46 +0x207
main.decode(0x0, 0x0, 0xc0013f20c2, 0x20, 0x0, 0x0)
D:/dhbooker-master/dhbooker-master/decode.go:61 +0x9c
main.getChapterContent(0xc0003cf360, 0x9, 0x9, 0x740e56, 0x4)
D:/dhbooker-master/dhbooker-master/ciweimao.go:167 +0xa41
main.writeChapterTemp(0xc0003cf360, 0x9, 0x218)
D:/dhbooker-master/dhbooker-master/ciweimao.go:189 +0x105
created by main.downloadChapters
D:/dhbooker-master/dhbooker-master/ciweimao.go:72 +0x13c

conf.ini

username = ****
password = ****
tmp = E:\dhbook\tmp
out = E:\dhbook\out

想要请教一下,应该如何操作才能解决这个问题呢?谢谢。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.