diff --git a/EpubCrawler/__main__.py b/EpubCrawler/__main__.py index af81312..aeb4b6b 100644 --- a/EpubCrawler/__main__.py +++ b/EpubCrawler/__main__.py @@ -17,7 +17,7 @@ from .util import * from .img import * from .config import config from .sele_crawler import crawl_sele -from .get_article import get_article +from .common import * def get_toc_from_cfg(): if config['list'] and len(config['list']) > 0: diff --git a/EpubCrawler/get_article.py b/EpubCrawler/common.py similarity index 100% rename from EpubCrawler/get_article.py rename to EpubCrawler/common.py diff --git a/EpubCrawler/sele_crawler.py b/EpubCrawler/sele_crawler.py index 52aaf3c..4a501ca 100644 --- a/EpubCrawler/sele_crawler.py +++ b/EpubCrawler/sele_crawler.py @@ -16,7 +16,7 @@ import traceback from .util import * from .img import process_img from .config import config -from .get_article import get_article +from .common import * trlocal = threading.local() drivers = []