Git Product home page Git Product logo

pyspider-stock's People

Contributors

ryh95 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyspider-stock's Issues

最后一步做情感分析的时候pymongo报错

$ python main.py
Traceback (most recent call last):
File "main.py", line 42, in
aggregateFactor.aggregate(stockCode, grab_time)
File "/Users/linkerlin/gits/pyspider-stock/east_sentiment/aggregateFactor.py", line 22, in aggregate
for result in documents['result']:
TypeError: 'CommandCursor' object has no attribute 'getitem'

报了一堆phantomjs的错误

TypeError: Bad argument
at TypeError (native)
at ChildProcess.spawn (internal/child_process.js:274:26)
at exports.spawn (child_process.js:362:9)
at Object. (/usr/local/lib/node_modules/phantomjs/bin/phantomjs:22:10)
at Module._compile (module.js:398:26)
at Object.Module._extensions..js (module.js:405:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:430:10)
at startup (node.js:141:18)
internal/child_process.js:274
var err = this._handle.spawn(options);
^

抓雪球时报告速度过快

{
"content": "{"error_description":"您的请求过于频繁,请稍后再试","error_uri":"/statuses/search.json","error_code":"22612"}",
"encoding": null,
"error": "HTTP 400: Bad Request",
"headers": {
"Cache-Control": "private, no-store, no-cache, must-revalidate, max-age=0",
"Connection": "keep-alive",
"Content-Type": "application/json;charset=UTF-8",
"Date": "Sat, 27 May 2017 04:19:58 GMT",
"P3p": ""CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT""",
"Server": "openresty/1.11.2.1",
"Strict-Transport-Security": "max-age=31536000",
"Trace-Id": "58a863cd89fab695",
"Transfer-Encoding": "chunked",
"X-Errorcode": "22612",
"X-Http-Reason": "Bad Request"
},
"ok": false,
"redirect_url": "https://xueqiu.com/statuses/search.json?count=10&comment=0&symbol=SH000003&hl=0&source=user&sort=time&page=78&_=1495858798955",
"status_code": 400,
"time": 0.17786097526550293
}

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.