Code Monkey home page Code Monkey logo

junior_spider's Introduction

spider course for junior engineers

Spider course 4 sample, Python 3.6

环境搭建

  1. 安装 python 3.6

  2. 安装 pip

    1. Linux

      参考 https://packaging.python.org/guides/installing-using-linux-tools/#installing-pip-setuptools-wheel-with-linux-package-managers

    2. Windows

      # curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

      # python get-pip.py

  3. 配置 pip 为清华源

    1. Linux、MacOS

      # vim ~/.config/pip/pip.conf

      [global]
      index-url = https://pypi.tuna.tsinghua.edu.cn/simple

    2. Windows

      %APPDATA%\pip\pip.ini

      [global]
      index-url = https://pypi.tuna.tsinghua.edu.cn/simple

  4. 统一安装全部需要的依赖库,执行下面的命令

    #pip install -r requirements.txt

  5. 离线安装 Chrome 插件。安装方法:下载插件后,在 chrome 浏览器地址栏输入 chrome://extensions,选择 Load Unpacked 或者 加载,来执行安装。Chrome 浏览器插件的离线下载地址:

    1. JSONView: https://github.com/gildas-lormeau/JSONView-for-Chrome
    2. POSTMAN: https://github.com/postmanlabs/postman-app-support/releases
    3. POSTMAN INTERCEPTER: https://github.com/postmanlabs/postman-chrome-interceptor/releases

Ubuntu 18 虚拟机环境

1. 下载安装 Virtubox 
2. 下载 虚拟机,下载完成后解压后,双击启动虚拟机。下载链接: https://pan.baidu.com/s/1qSTZ_rGe7AcJJo7vlVTp1w
3. 密码为 xxxy

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.