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