GithubHelp home page GithubHelp logo

fudan_pingjiao's Introduction

  1. 安装python3(已上传可执行文件版本,无需安装python3,如有需要请移步releases,但仍需配置chromedriver,配置方法参考本文档第$4$点

  2. 命令行下pip3 install selenium安装selenium

  3. 在clone或者下载本项目获得work.py(python脚本)

  4. 下载对应浏览器的webdriver

    以下是chrome的浏览器webdriver下载地址,选择和自己chrome对应版本的chromedriver(可以再chrome浏览器网址栏中输入chrome://version查看,下载好了把里面的东西解压出来:

    • mac系统: 放在和work.py同一文件夹下
    • linux系统:在终端中进入解压出来的东西所在文件夹下,执行命令sudo mv chromedriver /usr/local/chromedriver
    • win系统:https://www.jianshu.com/p/28c0d1ed62f8

    Chrome web driver

  5. 用文本编辑器打开work.py文件(如果是windows就右键-打开方式-记事本),找到下面两行代码

    username = ''
    password = ''

    引号内分别填入uis用户名和密码

  6. 命令行中python3 work.py运行python脚本

  7. 不同环境可能会不兼容,我的环境是mac,在linux也测试过,目前都只支持chrome浏览器。如果遇到问题可以发邮件到[email protected]

  8. 祝大家评教愉快

fudan_pingjiao's People

Contributors

hohboy avatar

Stargazers

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