- 😄 Welcome to my GitHub
- 🔭 I’m currently working on data mining
- 🌱 I’m currently learning deep learning
- 👯 I’m writed a book 《爬虫逆向进阶实战》
lixi5338619 / lxpy Goto Github PK
View Code? Open in Web Editor NEWWeb crawler and data processing toolkit !
Web crawler and data processing toolkit !
修复建议:lxheader.py第19行headers_tuples = [header.split(":", 1) for header in headers]
代码中使用":"符号分割,可能造成使用HTTP2.0技术的站点Headers解析错误,如Headers中出现":Authority: cn.bing.com"或":Method: GET"等字段会解析错误,建议改用": "符号进行split(注意冒号后面跟一个空格)或者正则表达式以增强兼容正确解析处理
说明:python的requests模块如果headers中出现":Authority: cn.bing.com"等字段,会导致报错"ValueError: Invalid header name b':Authority'",解决参考https://www.cnblogs.com/xinzaiyuan/p/13651628.html
谢谢
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.