Giter Club home page Giter Club logo

bingbot's Introduction

Bing Bot #

  • Removed humans, they weren't doing fine with animals.
  • Animas are now super c

Bing Bot 是一个python scrapy 框架写的爬虫程序.可以实现同步bing搜索的背景图片.并且自动设置为Windows桌面的小程序.

  • 部署方便.

  • 无需配置即可使用.

  • 自动化运行,每天自动换桌面

  • 文艺气息浓郁,让桌面自动换起来.

    快速安装 ##

运行环境 ###

  • Windows 7/10 64bit

  • Python 3.6

  • Scrapy 1.6.0

  • PyInstaller 3.4

    安装依赖 ###

    pip install -r requirements.txt
    

    手动运行 ###

    scrapy crawl binbot
    

打包 ###

  • Windows 下,使用pyinstaller 命令在Windows下打包为exe

    pyinstaller --add-data="scrapy\mime.types;scrapy" --add-data="scrapy\VERSION;scrapy" --add-data="scrapy.cfg;." --add-data="bing;bing" --add-data="bb.cmd;." --add-data="install.cmd;." -i bing.ico -c bb.py
    
  • Mac 下打包

    pyinstaller --add-data="scrapy/mime.types:scrapy" --add-data="scrapy/VERSION:scrapy" --add-data="scrapy.cfg:." --add-data="bing:bing" --add-data="bb.sh:." -c bb.py
    

安装自动运行 ###

如果你用pyinstaller编译为exe或者直接自动下载了releases版本,在程序目录下.

右键install.cmd,用管理员权限打开,设置windows计划任务,自动修改壁纸,4小时运行一次.

常见问题 ###

  • install.cmd 文件必须用管理员权限运行.

Others ##

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.