Git Product home page Git Product logo

documentdownloader's Introduction

documentdownloader's People

Contributors

jodezer avatar ohyee avatar shengt25 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  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  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  avatar  avatar  avatar

documentdownloader's Issues

出现异常:Invalid URL 'https:new': No host supplied

使用环境: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网站有改动?

请教:[WinError 10061] No connection could be made because the target machine actively refused it'

作者您好!

在尝试运行您所给出的示例代码时,我遇到了如下的错误信息。

能否请您给出相关建议?谢谢!

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”。

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.