Code Monkey home page Code Monkey logo

qiandao's Introduction

自动签到

Build Status

很多网站都有签到的功能,每天你签到后可以获得一定的收益,用于该网站的一些功能获得。但是要每天去点真的很需要恒心与毅力。大家想获得收益,但是又每天不想去登陆点击,所以很多签到项目应运而生,其中比较著名的是binuxqiandao

其实这些签到项目基本上就是爬虫功能的应用,所以我自己也就在这里写几个练练手。写这些项目的时候还是有好多心得体会的,都整理一下吧。

关于使用

将这些脚本部署到自己的VPS上面,建个自动化任务每天执行就OK了

目前我找到了个办法,部署在 travis-ci 上面(以v2ex为例):

  1. 请先 fork 此项目到你自己的 github

  2. 注册travis-ci, 可以直接用github授权登陆

  3. 左侧菜单 点击 My Repositories + 加入 qiandao

  4. 右上角 More options->settings-> Environment Variables 中加入settings

    name 填 v2ex_username 和 v2ex_password Value 填 你的帐号 和 密码

travis-ci-environment

  1. Cron Jobs 设置成 daily travis-ci-cron-job

大功告成,这样就能每天v2ex签到了

v2ex

一直是v2ex的用户,每天也会去点签到,终于有一天忍不住了,想自动签到了,又不想在其他网站留下自己的帐号密码,故就想自己写一个。

不过说实在的,v2ex的防自动登录还是做的比较到位的

  • Headers 里面的 Refer, Origin
  • username, password(post的key), once 都是每次随机生成的

另外由于2017年之后,v2ex都改成https了,所以好多的自动签到工具都失效了,大家也要注意

多看阅读

最近想看书,下了个多看阅读,上面有个签到的功能,好像可以积分换书,先在这里占个坑,后续完成

qiandao's People

Contributors

bonfy 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.