gooseeker's People
Forkers
gz51837844 sunlx688 fletcher9527 greatmartial hehuanshu96 qiyeboy zhengyueling1993 kufan cosmogao zhangzewen lhp609661060 simple555a little1tow yizhihou2 strongit zhiblin pattywgm kingwenchen kaminginwork lue828 ggyismjxd lycciam weieast luozhen sbilly sammieli yysf yanboshu wwj718 mylove1 wushicanasl oneface xiaochen2050 martychan rickscer lostmonk qianrenjian guanlongtianzi giserh coolads liujianpc xiliangsong leezqcst tima-git envylan tomzhang 0x24bin stmmcu robinyao awesome-python igdp deepminder linview chaycao csdnnet phx8 cn-chengjiangang baitongda nidaosky myjack lllding snailrobert gloryhui lixiuran wangtao1 leysure golden1232004 dqchouyang strongc tingtingchen cococode1 vitoleefilm skywalle xiangxiaobaog3 yaowenwu ckwsens xiaosimao destructive-observer wangchaodong yaokeepmoving brucezhaor fremanzhang yunyun androidzhaoxiaogang chinapeterpan neucoder xiaodin1 cobinvan fpcmotif liwei123o0 redlin5 faint32 qinxiaog enderli longniao cometdlut daixu sunjiyun26 wabisabi107 jester94gooseeker's Issues
运行错误请问什么原因?
Traceback (most recent call last):
File "C:\Users\schol\documents\visual studio 2015\Projects\PythonApplication2\PythonApplication2\PythonApplication2.py", line 16, in
result = bbsExtra.extract(doc) # 调用extract方法提取所需内容
File "C:\Users\schol\documents\visual studio 2015\Projects\PythonApplication2\PythonApplication2\gooseeker.py", line 44, in extract
transform = etree.XSLT(xslt_root)
File "xslt.pxi", line 412, in lxml.etree.XSLT.init (src\lxml\lxml.etree.c:173326)
lxml.etree.XSLTParseError: Cannot parse stylesheet
Press any key to continue . . .
豆瓣的抓取 为什么要使用PhantomJS
casper和phantom只能命令行啊
安居客得爬取出现错误,是网站作了防范吗
爬取开始
正在爬取 http://shenzhen.anjuke.com/tycoon/nanshan/p1
Traceback (most recent call last):
File "anjuke.py", line 34, in
content = anjukeSpider.getContent(currenturl)
File "anjuke.py", line 11, in getContent
conn = request.urlopen(url)
File "E:\Python3.5\lib\urllib\request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "E:\Python3.5\lib\urllib\request.py", line 472, in open
response = meth(req, response)
File "E:\Python3.5\lib\urllib\request.py", line 582, in http_response
'http', request, response, code, msg, hdrs)
File "E:\Python3.5\lib\urllib\request.py", line 504, in error
result = self._call_chain(*args)
File "E:\Python3.5\lib\urllib\request.py", line 444, in _call_chain
result = func(*args)
File "E:\Python3.5\lib\urllib\request.py", line 696, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "E:\Python3.5\lib\urllib\request.py", line 472, in open
response = meth(req, response)
File "E:\Python3.5\lib\urllib\request.py", line 582, in http_response
'http', request, response, code, msg, hdrs)
File "E:\Python3.5\lib\urllib\request.py", line 510, in error
return self._call_chain(*args)
File "E:\Python3.5\lib\urllib\request.py", line 444, in _call_chain
result = func(*args)
File "E:\Python3.5\lib\urllib\request.py", line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
打开本地pdf时遇到'str' object has no attribute 'read'错误
尝试使用其中读取pdf文件的代码读取本地文件。报错
'AttributeError: 'str' object has no attribute 'read''
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.