From 5a9a7ca70eceb9c76981755b8166cdd6c14bad47 Mon Sep 17 00:00:00 2001 From: panda <1415243231@qq.com> Date: Tue, 2 Jun 2026 15:24:51 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E5=BA=9F=E5=BC=83?= =?UTF-8?q?=20self=20=E4=BE=9D=E8=B5=96;=20lxml=20=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E8=8C=83=E5=9B=B4=E7=BA=A6=E6=9D=9F=E5=85=BC=E5=AE=B9=20scrapy?= =?UTF-8?q?/twisted?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python爬虫/python爬虫练习/Biibli.py | 3 +-- requirements.txt | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/python爬虫/python爬虫练习/Biibli.py b/python爬虫/python爬虫练习/Biibli.py index 9f6cd5e..1394e40 100644 --- a/python爬虫/python爬虫练习/Biibli.py +++ b/python爬虫/python爬虫练习/Biibli.py @@ -1,6 +1,5 @@ -import self as self -from selenium.webdriver import Chrome, Keys # 键盘操作 import time +from selenium.webdriver import Chrome, Keys # 键盘操作 from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.by import By diff --git a/requirements.txt b/requirements.txt index b37b465..3ab9810 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ aiohttp==3.12.15 beautifulsoup4==4.13.5 contractions==0.1.73 itemadapter==0.12.1 -lxml==6.0.1 +lxml>=5.0.0,<7.0.0 nltk==3.9.1 numpy==2.3.2 pyecharts==2.0.8 @@ -14,7 +14,6 @@ pytest==8.4.1 redis==6.4.0 requests==2.32.5 selenium==4.35.0 -self==2020.12.3 setuptools==78.1.1 six==1.17.0 spacy==3.8.7