2024年1月11日

摘要: import random import re import os import time import pandas as pd from pyvirtualdisplay import Display import undetected_chromedriver as uc from selen 阅读全文
posted @ 2024-01-11 15:31 明媚的夏午 阅读(2) 评论(0) 推荐(0) 编辑

2023年11月20日

摘要: import functools import signal def timeout(sec): """ timeout decorator :param sec: function raise TimeoutError after ? seconds """ def decorator(func) 阅读全文
posted @ 2023-11-20 19:24 明媚的夏午 阅读(2) 评论(0) 推荐(0) 编辑

2023年11月16日

摘要: Infant Feeding Tube-It is used for neonates and paediatric nutritional feeding,Foley Balloon Catheter(GPC Foley Balloon Catheter)-It is a urinary trac 阅读全文
posted @ 2023-11-16 09:52 明媚的夏午 阅读(1) 评论(0) 推荐(0) 编辑

2023年11月14日

摘要: import json import os, sys import random import pandas as pd import time import urllib3 from pyvirtualdisplay import Display urllib3.disable_warnings( 阅读全文
posted @ 2023-11-14 14:57 明媚的夏午 阅读(4) 评论(0) 推荐(0) 编辑

2023年11月13日

摘要: 要查找虚拟机中ChromeDriver的路径,您可以使用which命令或find命令。以下是两种方法: 使用which命令。在终端中输入以下命令: which chromedriver 如果ChromeDriver已经在系统的PATH环境变量中,该命令将返回ChromeDriver的完整路径。否则, 阅读全文
posted @ 2023-11-13 16:59 明媚的夏午 阅读(53) 评论(0) 推荐(0) 编辑
 
摘要: # import os# import time# from selenium import webdriver# from selenium.webdriver.support.ui import WebDriverWait# from selenium.webdriver.support imp 阅读全文
posted @ 2023-11-13 13:58 明媚的夏午 阅读(376) 评论(0) 推荐(0) 编辑

2023年10月25日

摘要: Upgrade-Insecure-Requests:1 Upgrade-Insecure-Requests 是一个HTTP响应头,用于向浏览器发出指示,要求浏览器使用 HTTPS 加密协议来访问网站,以提高网站的安全性。当浏览器收到这个响应头时,它会自动将所有的 HTTP 请求转换为 HTTPS 请 阅读全文
posted @ 2023-10-25 15:01 明媚的夏午 阅读(1424) 评论(0) 推荐(0) 编辑

2023年10月23日

摘要: 直接搜索GitHub Desktop 点进去下载: 下载完根据提示关联自己的github账号 克隆一个仓库: 基于某分支新建分支 点击你要合并的代码的commit --> 右键 --> 点击 cherry-pick-commit 阅读全文
posted @ 2023-10-23 16:43 明媚的夏午 阅读(82) 评论(0) 推荐(0) 编辑

2023年10月11日

摘要: import requests from bs4 import BeautifulSoup from pygtrans import Translate def multi_requests(url, headers=None, verify=False, proxies=None, timeout 阅读全文
posted @ 2023-10-11 16:43 明媚的夏午 阅读(2) 评论(0) 推荐(0) 编辑

2023年8月18日

摘要: https://sites.google.com/chromium.org/driver/downloads 阅读全文
posted @ 2023-08-18 17:48 明媚的夏午 阅读(57) 评论(0) 推荐(0) 编辑