上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 23 下一页
摘要: """author:张鑫date:2021/8/13 16:37"""import pymysql# 即将插入的数据# url2 = ''connect = pymysql.Connect( host='140.210.4.73', port=3306, user='twipad_cj', pass 阅读全文
posted @ 2021-10-20 16:17 布都御魂 阅读(332) 评论(0) 推荐(0) 编辑
摘要: """author:张鑫date:2021/5/19 15:38"""# 导入模块import timeimport pymongoimport randomimport reimport pandas as pdimport numpy as np# 连接数据库database = pymongo 阅读全文
posted @ 2021-10-20 16:01 布都御魂 阅读(125) 评论(0) 推荐(0) 编辑
摘要: """author:张鑫date:2021/6/24 16:31"""# 上取整from math import ceilnum1 = ceil(1.11)print(num1)num2 = ceil(90/20)print(num2)# 下取整num3 = int(1.11)print(num3) 阅读全文
posted @ 2021-10-20 15:59 布都御魂 阅读(48) 评论(0) 推荐(0) 编辑
摘要: """author:张鑫date:2021/6/24 14:30"""import redef remove_label(content): if '<' in content: pre = re.compile('>(.*?)<') content = content.replace('&nbsp 阅读全文
posted @ 2021-10-20 15:51 布都御魂 阅读(46) 评论(0) 推荐(0) 编辑
摘要: # coding=gbkimport xlsxwriter as xwimport requestsimport reimport jsonimport timeimport randomfrom fake_useragent import UserAgentimport randomdef get 阅读全文
posted @ 2021-10-20 15:43 布都御魂 阅读(16) 评论(0) 推荐(0) 编辑
摘要: """author:张鑫date:2021/8/12 10:48"""def today_start(): import time import datetime today = datetime.date.today() today_time = int(time.mktime(today.tim 阅读全文
posted @ 2021-10-20 15:40 布都御魂 阅读(12) 评论(0) 推荐(0) 编辑
摘要: import randomfrom time import sleepfrom selenium import webdriverfrom lxml import etreefrom selenium.webdriver import ActionChainsurl = []# 初始页面地址urls 阅读全文
posted @ 2021-10-20 15:34 布都御魂 阅读(61) 评论(0) 推荐(0) 编辑
摘要: """author:张鑫date:2021/10/14 17:14"""import paramikoip = "140.210.4.73" # 服务器ipport = 22 # 端口号username = "zs_caoye" # 用户名password = "zs_caoye#@!s" # 密码 阅读全文
posted @ 2021-10-20 15:07 布都御魂 阅读(31) 评论(0) 推荐(0) 编辑
摘要: """author:张鑫date:2021/10/14 17:14"""import timeimport paramikoimport requestsfrom lxml import etreefrom selenium import webdriverkeyword = 'SandyHsu31 阅读全文
posted @ 2021-10-20 15:06 布都御魂 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 先打开filder,再打开模拟器,使用脚本不要设置休眠 unable to get local issuer certificate (errno: 20, depth: 0) :mitmdump --ssl-insecure提示错误,但可以抓到数据 阅读全文
posted @ 2021-10-19 15:34 布都御魂 阅读(114) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 23 下一页