Fix: Remove unused modules

This commit is contained in:
yoshiko2
2022-11-26 05:40:53 +08:00
parent 86d5c7501a
commit 02dd74dd08
6 changed files with 2 additions and 12 deletions

View File

@@ -10,7 +10,6 @@ import typing
import urllib3
import signal
import platform
import multiprocessing
from datetime import datetime, timedelta
from pathlib import Path

View File

@@ -1,25 +1,21 @@
import json
import os.path
import os
import pathlib
import re
import shutil
import sys
from videoprops import get_video_properties
from PIL import Image
from io import BytesIO
from pathlib import Path
from datetime import datetime
# from videoprops import get_video_properties
from ADC_function import *
# from WebCrawler import get_data_from_json
from scraper import get_data_from_json
from number_parser import is_uncensored
from ImageProcessing import cutImage
# from WebCrawler import get_data_from_json
def escape_path(path, escape_literals: str): # Remove escape literals
backslash = '\\'
for literal in escape_literals:

View File

@@ -2,7 +2,6 @@
import json
import re
from lxml import etree
from .parser import Parser
from .javbus import Javbus

View File

@@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
import re
from lxml import etree
from urllib.parse import urlparse, unquote
from .parser import Parser

View File

@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
import re
from urllib.parse import urljoin
from lxml import etree

View File

@@ -6,7 +6,6 @@ import traceback
import threading
import json
import shutil
import types
CRITICAL = 50
FATAL = CRITICAL