Comments (6)
咳..补充一下,关掉代理软件可以正常生成了...请修复它
from knightreport.
另外评价一下现在的版本,宋体不如等线字体观感清晰,有很明显的锯齿感
且希望能增加居中功能(虽然不加也可以,就是后期进一步处理表格数据还需要多一道工作)
from knightreport.
代理的问题我之前关注过,你说得没错,可以稳定复现
这个问题的确存在很久了,但是不好处理
问题核心在于psf/requests#5740 (comment)
简单来说,Python内部库urllib,对于http类型的代理,会错误识别成https类型的,造成数据包投递失败。
这是一个底层问题,追踪在这里https://bugs.python.org/issue42627 目前还没有解决
我之前构思过这样几种方式:
- 强制本程序不走任何代理,但这样如果遇到必须要代理才能访问b站API时会很僵
- 重写urllib返回的https代理为http,但是万一用户用的就是https代理,就会南辕北辙
考虑到上面那个问题追踪已经有pr了,只是没合并,我就摸了,等更新之后我这边同步更新~
之前我大概在可能触发的位置加了一个报错
Line 43 in 4a8afec
那我周末在这里也加一个一样的
KnightReport/src/browser/method_auto.py
Line 62 in 4a8afec
from knightreport.
有关格式的问题,我本周末来研究下API,应该都能处理掉
from knightreport.
~~有关canany版的chrome无法启动的问题,之前查询过资料在不同系统中Chrome的安装路径会有轻微区别。
为了兼容性,我没有硬指定可执行文件路径,尝试的启动方式为在 powershell中输入start chrome
的方案,对我装的稳定版是可以用的~
接下来有时间我会多装几个版本来测试~~
测完了,已经复现,这是高优先级问题,马上来修
已经解决~
from knightreport.
有关canany版的chrome无法启动的问题,之前查询过资料在不同系统中Chrome的安装路径会有轻微区别。 为了兼容性,我没有硬指定可执行文件路径,尝试的启动方式为在 powershell中输入接下来有时间我会多装几个版本来测试~start chrome
的方案,对我装的稳定版是可以用的
测完了,已经复现,这是高优先级问题,马上来修已经解决~
非常感谢!静候后续更新
from knightreport.
Related Issues (13)
- 报错了今天 HOT 4
- 生成原生xlsx格式报表
- 增加测试用例 HOT 1
- 请问官方的接口支持查往期会战的数据吗?
- 希望能加入尾刀计算一栏 HOT 7
- 报错了 HOT 2
- 生成文件失败 HOT 1
- 都用git了 整个 linux(macos)和chrome能运行的啊。。 HOT 4
- 国内镜像支持 HOT 1
- unhandled Exception 打不开 HOT 2
- 对于数据源异常出刀数据的自动修正
- MacOS 运行源码报错 ImportError: cannot import name set_start_method HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knightreport.