chore: tidy plugin root and bump version to 0.7.23
This commit is contained in:
@@ -23,21 +23,6 @@ from lxml import html
|
||||
from urllib import parse
|
||||
import urllib
|
||||
|
||||
packages = [
|
||||
"beautifulsoup4",
|
||||
"requests-cache",
|
||||
"cloudscraper",
|
||||
"selenium_stealth",
|
||||
"webdriver_manager",
|
||||
]
|
||||
for package in packages:
|
||||
try:
|
||||
import package
|
||||
|
||||
except ImportError:
|
||||
# main(["install", package])
|
||||
os.system(f"pip install {package}")
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
import cloudscraper
|
||||
|
||||
|
||||
Reference in New Issue
Block a user