Coder Social home page Coder Social logo

font-spider's Introduction

爬虫蛋卷基金的项目,包括了node和deno代码

  • 温馨提示
    • 基金有风险,买入须谨慎
    • 爬虫的时候建议不要太频繁,把对方网站搞挂了也是有风险的
    • 可以根据自己喜好调整筛选基金条件,当然你可以设置1000%的收益率

配置deno环境

如果本地没有安装deno的话,而且你是在windows环境那直接用以下脚本就行了,其他环节自己找吧哈哈哈哈

iwr https://x.deno.js.cn/install.ps1 -useb | iex

运行deno的代码

  • 有网络请求的:
    • deno run --allow-net denoFund.js
  • 读取文件的:
    • deno run --allow-net --allow-read --allow-write denoFund.js
  • 允许所有权限
    • deno run --allow-all denoFund.js

运行node的代码

  • node nodeFund.js

运行结束之后是json文件还需要执行一下json 转excel

这个是需要的依赖

pip install tablib[all]

之后执行

python j2excel.py

font-spider's People

Contributors

yerikshu avatar

Watchers

 avatar  avatar

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.