chore: 移除废弃 self 依赖; lxml 改为范围约束兼容 scrapy/twisted

This commit is contained in:
2026-06-02 15:24:51 +08:00
parent 65080d4338
commit 5a9a7ca70e
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
import self as self
from selenium.webdriver import Chrome, Keys # 键盘操作
import time import time
from selenium.webdriver import Chrome, Keys # 键盘操作
from selenium.webdriver.chrome.options import Options from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By from selenium.webdriver.common.by import By
+1 -2
View File
@@ -3,7 +3,7 @@ aiohttp==3.12.15
beautifulsoup4==4.13.5 beautifulsoup4==4.13.5
contractions==0.1.73 contractions==0.1.73
itemadapter==0.12.1 itemadapter==0.12.1
lxml==6.0.1 lxml>=5.0.0,<7.0.0
nltk==3.9.1 nltk==3.9.1
numpy==2.3.2 numpy==2.3.2
pyecharts==2.0.8 pyecharts==2.0.8
@@ -14,7 +14,6 @@ pytest==8.4.1
redis==6.4.0 redis==6.4.0
requests==2.32.5 requests==2.32.5
selenium==4.35.0 selenium==4.35.0
self==2020.12.3
setuptools==78.1.1 setuptools==78.1.1
six==1.17.0 six==1.17.0
spacy==3.8.7 spacy==3.8.7