Comments (7)
我在3.6下跑起来了,要不要提交上来?
from baiducrawler.
@zhll912 我刚下载到本地测试没问题,你试试用mysql新建一个数据库,库名参考config.py,然后修改config.py里的密码试试。
from baiducrawler.
我已经创建了数据库,同时config.py中的值也对应修改了,还是提示同样的问题,我是怀疑其它方面的问题,我用的是python3.6.1,这个影响么?另外pymysql我也安装了,还有可能有什么问题呢?
from baiducrawler.
上述问题基本解决,reload(sys),这两行被我删了,会报其它错:cannot choose from an empty sequence
p这是因为我删了上边的编码就出问题了,我就在这行上加了编码设置open(keyword_dict, 'r',encoding='utf8'),不知道这个问题又如何解决,现在主要问题确定在获取不到IP地址,求指教如何获取?
from baiducrawler.
@zhll912 此程序是py2.7xx,还未在3.0以上测试过~~ 如果用pycharm不妨下双版本python,然后切换2.7试试。
from baiducrawler.
有没有更新3.0的计划呢?我看这个应该复杂度应该不至于有多少,只是 我初学python,否则我给你更新一个版本
from baiducrawler.
@zhll912 欢迎提交~~~
from baiducrawler.
Related Issues (5)
- 换了关键词就不行了 HOT 2
- 多线程的处理在哪里? 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 baiducrawler.