Giter Club home page Giter Club logo

fucking-views's Introduction

fucking-views

A script of increasing the views of website

一个简易的浏览量代刷脚本

版本更新

  • version:0.2
  • time:2020.8.28 23:41
  • 更新内容:新增IP代理池,减少被封IP的风险;由于fake_useragent不稳定,经常404,暂时下线ua池
  • 取消代理:view函数中,将res = requests.get(url, headers = user, proxies = proxies)改为res = requests.get(url, headers = user)
  • 稳定版多UA池和动态代理池正在开发中

写在前面

  • 单纯的遇到一些事情,想给某些问题送点流量,此脚本仅提供一点浏览量
  • 目前仅使用单个UA,可能会被反爬机制制裁,多UA与多线程代刷正在开发中

运行环境及依赖

  • Python3
  • requests
  • bs4
  • fake_useragent

依赖安装方法

  • 打开命令行,输入以下内容:

    pip3 install requests
    pip3 install bs4
    pip3 install fake_useragent
    

程序使用方法

  • 通过Python3运行main.py即可
  python3 main.py

代刷地址修改

  • 修改程序if __name__ == "__main__": 模块中的url
  • 注意:本程序针对知乎网页,若修改为其他网站地址则需同时修改handle函数中的content的值

程序不足

  • 多UA,多IP,在写了,在写了
  • 静态代理池通信不稳定,容易被封代理,延迟也比较高

测试返回

Followers:1,052 Views:884,666   requesting time:0.984s  proxy:123.57.210.164:3128
Followers:1,052 Views:884,726   requesting time:1.11s   proxy:119.57.105.25:53281
Followers:1,052 Views:884,727   requesting time:1.264s  proxy:220.249.149.59:9999
Followers:1,052 Views:884,727   requesting time:1.161s  proxy:36.248.132.136:9999
Followers:1,052 Views:884,727   requesting time:0.958s  proxy:39.97.97.227:3128
Followers:1,052 Views:884,727   requesting time:1.192s  proxy:58.253.153.11:9999
Followers:1,052 Views:884,727   requesting time:1.007s  proxy:119.57.105.25:53281
Followers:1,052 Views:884,727   requesting time:0.8527s proxy:60.191.11.249:3128
Followers:1,052 Views:884,742   requesting time:1.408s  proxy:163.125.17.105:8888

fucking-views's People

Contributors

xiabee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.