# #!/usr/bin/python3# -*- coding: utf-8 -*-# @Time : 2020/7/24 15:32# @Author : Gengwu# @FileName: By_css_seleclor.py# @Software: PyCharmfrom selenium ...
分类:
Web程序 时间:
2020-07-24 19:09:21
阅读次数:
164
cordova工程ios打包自动编译打包,自动签名失败,Xcode 打包 certificate:unknown profile:none 签名带不上问题,修改project设置,为legacy build system。 参考地址:https://www.cnblogs.com/sunylat/p ...
分类:
移动开发 时间:
2020-07-24 16:28:20
阅读次数:
97
在Ubuntu 18.04上搭建开发学习常用的软件环境(git、中文输入法、qq、微信、Android Studio、Intellij Idea、Pycharm、Electron、Eclipse、Firefox、Chrome、MySQL、Tomcat、Sublime、Typora、WPS、Java、... ...
分类:
系统相关 时间:
2020-07-24 09:48:34
阅读次数:
129
使用命令下载rpm安装包: wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm 下载包名为google-chrome-stable_current_x86_64.rpm 使用root权限进行安 ...
分类:
其他好文 时间:
2020-07-23 22:46:41
阅读次数:
102
案例一:解析出全国所有城市名称代码如下:importrequestsfromlxmlimportetreeif__name__=="__main__":headers={‘User-Agent‘:‘Mozilla/5.0(Macintosh;IntelMacOSX10_12_0)AppleWebKit/537.36(KHTML,likeGecko)Chrome/73.0.3683.103Safar
分类:
编程语言 时间:
2020-07-23 19:04:28
阅读次数:
103
第一步:找到隐藏文件 ll -a 第二步:编辑文件 vi .bash_profile 第三步:进入编辑模式 i ,修改 export JAVA_HOME=/home/cm/jdk1.8.0_144 第四步:退出编辑模式 esc ,保存修改:wq 第五步:source .bash_profile 第六 ...
分类:
系统相关 时间:
2020-07-23 19:00:19
阅读次数:
137
WebOpLib.py测试库 from selenium import webdriver from cfg import *class WebOpLib(): def openwebsite(self): self.driver=webdriver.Chrome() self.driver.max ...
分类:
其他好文 时间:
2020-07-23 18:56:59
阅读次数:
112
知网爬取勿做商用 import requests, time, parsel, re from selenium.webdriver.chrome.options import Options from urllib.parse import urlencode from selenium impo ...
分类:
其他好文 时间:
2020-07-23 16:07:56
阅读次数:
157
配置服务通用步骤 1.关闭selinux,关闭iptables 2.安装服务相关的包 3.启动服务 4.修改配置文件,重启服务 安装程序 Centos系统安装 系统启动流程: bootloader-->kernel(initramfs)-->rootfs-->/sbin/init anaconda: ...
分类:
其他好文 时间:
2020-07-23 16:06:49
阅读次数:
91
Selenium框架 使用方法 from selenium import webdriver # 这里使用的是谷歌浏览器 还有很多的浏览器可以选择 wd = webdriver.Chrome(r'd:\webdrivers\chromedriver.exe') wd.get('http://cdn1 ...
分类:
Web程序 时间:
2020-07-23 01:38:50
阅读次数:
215