Code Monkey home page Code Monkey logo

auto-laod-hosts's Introduction

auto-laod-hosts

自动的更新laod.cn提供的hosts

1 需要安装的软件

python 2.7 [from official site]

sudo -H pip install bs4 requests lxml

git, wget, Pillow module installation:

MAC OSX

homebrew for mac

brew install wget libjpeg git

sudo -H pip install pillow

Ubuntu

sudo apt-get install python-pil python-imaging python-pil.imagetk wget git

2 下载&&运行

git clone https://github.com/yanjinyi1987/auto-laod-hosts.git

注意:下载后run.sh中的密码需要修改的,还有存放代码的路径也需要修改

./run.sh #可能会有窗口弹出要求输入验证码

使用./run.sh forced可进行强制升级

3 致谢

感谢Github项目 pan-baidu-download

pan-baidu-download: https://github.com/banbanchs/pan-baidu-download.git

感谢我的wife,一个电脑小白

auto-laod-hosts's People

Contributors

yanjinyi1987 avatar

Stargazers

 avatar MeiShijian avatar  avatar  avatar  avatar 陶醉 avatar  avatar Jun Yang avatar 言己 avatar Martin avatar MR.LI /MR LEE avatar Miaoqi avatar

Watchers

James Cloos avatar Miaoqi avatar Lingang ZHANG avatar MeiShijian avatar  avatar  avatar  avatar

auto-laod-hosts's Issues

2017老D更新后auto-laod-hosts 用不了了

多谢作者的自动更新源文件脚本.

过去的半年,翻墙主要依靠这个脚本,期间也fork自己维护过.但老D2017改版后,代码就不太好改了.

所以最近我写了一个js的自动更新库(updatelaodhost),在我的仓库或者npm上可以下载.
readme里有使用说明.

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.