上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 25 下一页
摘要: 添加:chrome_options.add_argument('--disable-software-rasterizer') 阅读全文
posted @ 2022-03-21 14:29 布都御魂 阅读(248) 评论(0) 推荐(0)
摘要: import datetimeimport reimport timedef time_turn(timenum): if 0 < len((timenum)) < 11 and timenum.isdigit(): timenum = int(timenum) timeArray = time.l 阅读全文
posted @ 2022-03-21 11:11 布都御魂 阅读(68) 评论(0) 推荐(0)
摘要: from lxml import etreeimport timeimport randomfrom selenium import webdriverdriver = webdriver.Chrome()url = 'https://36kr.com/information/technology/ 阅读全文
posted @ 2022-03-17 11:48 布都御魂 阅读(57) 评论(0) 推荐(0)
摘要: """ author:张鑫 date:2022/02/15 13:14 发布账号昵称、发布账号ID、发布时间、内容、发帖链接、账号主页链接、点赞数、评论数、分享数 运行环境 Chrome浏览器 和 selenium驱动版本一致即可 可自行接入公司数据库 keyword_list = ['tsaiin 阅读全文
posted @ 2022-03-02 17:50 布都御魂 阅读(152) 评论(0) 推荐(0)
摘要: ''' 只需要修改数据库连接即可 ''' import pymysql import requests connect = pymysql.Connect( host='140.210.4.73', port=3306, user='twipad_cj', passwd='bj@#twipad_cj 阅读全文
posted @ 2022-02-23 11:38 布都御魂 阅读(229) 评论(0) 推荐(0)
摘要: dict = { 'a': '1', 'b': '2', 'c': '3', 'd': '4'}# 需要加密数据key = 'abcd'keys = ''for i in key: i = dict[i] keys += str(i)print(keys) 阅读全文
posted @ 2022-02-18 14:44 布都御魂 阅读(83) 评论(0) 推荐(0)
摘要: # -*- coding: cp936 -*-import base64src = "明文数据"tgt = base64.b64encode(src.encode('UTF-8'))print(tgt)src = base64.b64decode(tgt).decode('utf-8')print( 阅读全文
posted @ 2022-02-18 14:24 布都御魂 阅读(59) 评论(0) 推荐(0)
摘要: a='lWNuaphrZphoYVNVkpmWmWWYaWZimA=='a=a[::-1]print(a) 阅读全文
posted @ 2022-02-18 11:39 布都御魂 阅读(49) 评论(0) 推荐(0)
摘要: """ author:张鑫 date:2021/7/30 20:39 """ import requests import pymysql connect = pymysql.Connect( host='140.210.4.73', port=3306, user='twipad_cj', pas 阅读全文
posted @ 2022-02-17 10:05 布都御魂 阅读(143) 评论(0) 推荐(0)
摘要: url中含有_o,删除即可 阅读全文
posted @ 2022-02-16 16:45 布都御魂 阅读(167) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 25 下一页