See more information from about page of my blog
ohyee / documentdownloader Goto Github PK
View Code? Open in Web Editor NEWdownload document from book118 for free
Home Page: https://www.oyohyee.com/tag/documentdownloader
License: MIT License
download document from book118 for free
Home Page: https://www.oyohyee.com/tag/documentdownloader
License: MIT License
See more information from about page of my blog
使用环境:macOS 11.6 / Windows 11
Python版本:3.9.5 / 3.97
使用命令:python main.py -i https://max.book118.com/html/****/****/********.shtm
错误提示:
Proxy has been set {'http': None, 'https': None}
Get page error: Invalid URL 'https:new': No host supplied, 10 times left...
Get page error: Invalid URL 'https:new': No host supplied, 9 times left...
Get page error: Invalid URL 'https:new': No host supplied, 8 times left...
Get page error: Invalid URL 'https:new': No host supplied, 7 times left...
Get page error: Invalid URL 'https:new': No host supplied, 6 times left...
Get page error: Invalid URL 'https:new': No host supplied, 5 times left...
Get page error: Invalid URL 'https:new': No host supplied, 4 times left...
Get page error: Invalid URL 'https:new': No host supplied, 3 times left...
Get page error: Invalid URL 'https:new': No host supplied, 2 times left...
Get page error: Invalid URL 'https:new': No host supplied, 1 times left...
Can not get the page https:new
不知道为什么URL会变成https:new,是我使用问题吗,还是book118网站有改动?
作者您好!
在尝试运行您所给出的示例代码时,我遇到了如下的错误信息。
能否请您给出相关建议?谢谢!
python main.py -i https://max.book118.com/html/2020/0109/5301014320002213.shtm -o '单身人群专题研究报告-2019.pdf' -p http://127.0.0.1:1080 -f -t 20
Proxy has been set http://127.0.0.1:1080
Get page error: HTTPSConnectionPool(host='max.book118.com', port=443): Max retries exceeded with url: /index.php?g=Home&m=View&a=ViewUrl&cid=5301014320002213&flag=1 (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x035B5940>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))), 10 times left...
Retry 10次完毕后,出错信息为“Can not get the page https://max.book118.com/index.php”。
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.