摘要:
import hashlib import random import re import ssl import requests import time from lxml import etree import pymysql import requests from hashlib impor 阅读全文
摘要:
# 下载图片 def download_img(save_path, img_url): headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Geck 阅读全文
摘要:
''' https://www.mining120.com/shebei/ 粉碎设备 https://www.mining120.com/shebei/search.php?catid=1972&page=2 ''' import hashlib import random import reque 阅读全文
摘要:
import restr1='<h1>2022你好呀</h1>'print(''.join(re.findall('[\u4e00-\u9fa5]',str1))) 阅读全文
摘要:
''' 百度爱采购 ''' import hashlib import json import random import re from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.suppo 阅读全文
摘要:
用r'''复制内容''' 阅读全文
摘要:
import random import time from selenium import webdriver import requests from lxml import etree from selenium.webdriver.common.by import By def reques 阅读全文
摘要:
# -*- coding:utf-8 -*- # 生产键列表 f = open(r'key_list.txt', 'r') a = [i.replace('\n', '') for i in f] # 生成值列表 f2 = open(r'value_list.txt', 'r') b = [i.re 阅读全文
摘要:
import random import time import pymysql import requests dict_area = {'北京': '32', '天津': '33', '上海': '34', '重庆': '35', '河北': '5', '山西': '6', '辽宁': '7', 阅读全文
摘要:
import hashlib import random import re from urllib.parse import quote, unquote import pymysql import time import requests from lxml import etree def g 阅读全文