just a tech.
rmlzy / export-jd-read Goto Github PK
View Code? Open in Web Editor NEW一键导出京东校园版电子书
一键导出京东校园版电子书
你好,图片下载后没有反应,不能生成 epub。 win10
弄好了,大佬请忽略
克隆仓库需要账号密码,无法克隆
除了导出epub外,能不能增加PDF选择,按网页的排版,一页一页的。
Line 260 in 83c5cfc
Hi~
Thanks for your great project. I wonder why the colour of epub is dark? Am I miss some parms?
谢谢作者的脚本!我想问下为什么导出的epub的背景颜色都是黑色的....是我少配置了什么东西吗?还是因为我是晚上导出的?
再次感谢!
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node ./src/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-11-19T10_32_05_348Z-debug.log
2021-11-19T10_32_05_348Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]start: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]start: unsafe-perm in lifecycle truestart: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/root/export-jd-read/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]start: CWD: /root/export-jd-readstart: Args: [ '-c', 'node ./src/index.js' ]
10 silly lifecycle [email protected]
11 silly lifecycle [email protected]start: Returned: code: 1 signal: nullstart: Failed to exec start script
12 info lifecycle [email protected]
13 verbose stack Error: [email protected] start: node ./src/index.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid [email protected]
15 verbose cwd /root/export-jd-read
16 verbose Linux 4.18.0-305.25.1.el8_4.x86_64
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "start"
18 verbose node v10.24.0
19 verbose npm v6.14.11
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] start: node ./src/index.js
22 error Exit status 1
23 error Failed at the [email protected] start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
请输入图书ID (URL 中的 bookId): 30348xxx
(node:2114682) UnhandledPromiseRejectionWarning: FetchError: network timeout at: https://gx.jd.com/gx/gx_bookDetail.action?bookId=30348xxx
at Timeout. (/root/export-jd-read/node_modules/node-fetch/lib/index.js:1484:13)
常混书圈,大佬您这是利器,现在风头,小心为好。
感谢大佬。
频繁尝试测试使用无法使用 希望能指导下 万分感谢
如题,前几天都还正常,今天试了试无法抓取书名,显示为:开始抓取《》...
希望大佬抽空看看,谢谢
[Download Success] https://img30.360buyimg.com/ebookadmin/jfs/t1/208931/33/1633/154710/614b072eEd0bfdde8/d260b0bef229e912.jpg
[Download Success] https://img30.360buyimg.com/ebookadmin/jfs/t1/113018/7/19147/312664/614b073aE090d1737/2da4129ff34db099.jpg
[Download Success] https://img30.360buyimg.com/ebookadmin/jfs/t1/146509/18/21523/196877/614b073eE5cb83a92/cd9be56ce517edb4.jpg
[Download Success] https://img30.360buyimg.com/ebookadmin/jfs/t1/85272/33/19354/170141/614b073cE60f15961/6994b26cc5cae1cb.jpg
[Download Success] https://img30.360buyimg.com/ebookadmin/jfs/t1/202338/40/7637/300661/614b073aEd144bd85/94848cbc1b75db00.jpg
[Download Success] https://img30.360buyimg.com/ebookadmin/jfs/t1/207063/40/1700/444560/614b072fEd240dc2a/f0d7f6185d52e32d.jpg
[Download Success] https://img30.360buyimg.com/ebookadmin/jfs/t1/146987/3/20315/224302/614b0734Ebe2f1d36/599fa4d1e1bb8b38.jpg
Zipping temp dir to E:\WorkSpace\Python\JD_READ\export-jd-read\output\Java技术手册(原书第7版)(O’Reilly精品图书系列).epub
PS E:\WorkSpace\Python\JD_READ\export-jd-read>
在Zipping temp dir to..
命令之后,进程被意外终止了
图书id为:30746261
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.