1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-26 01:27:07 +00:00

removing unneeded imports from bsplayer and legendasdivx

This commit is contained in:
German Gutierrez 2020-01-18 13:02:37 +01:00
parent 304ee8766c
commit 6291cf7134
2 changed files with 1 additions and 17 deletions

View file

@ -1,30 +1,21 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
import logging
import re
import io
import os
import sys
from requests import Session
from guessit import guessit
from babelfish import language_converters
from subliminal_patch.providers import Provider
from subliminal_patch.subtitle import Subtitle
from subliminal_patch.utils import sanitize
from subliminal.exceptions import ProviderError
from subliminal.utils import sanitize_release_group
from subliminal.subtitle import guess_matches
from subliminal.video import Episode, Movie
from subliminal.subtitle import fix_line_ending
from subzero.language import Language
from .utils import FIRST_THOUSAND_OR_SO_USER_AGENTS as AGENT_LIST
import gzip
import random
from time import sleep
from xml.etree import ElementTree
import struct
logger = logging.getLogger(__name__)

View file

@ -3,7 +3,6 @@ from __future__ import absolute_import
import logging
import io
import os
import sys
import rarfile
import zipfile
@ -13,16 +12,10 @@ from subliminal_patch.exceptions import ParseResponseError
from subliminal_patch.providers import Provider
from subliminal.providers import ParserBeautifulSoup
from subliminal_patch.subtitle import Subtitle
from subliminal_patch.utils import sanitize
from subliminal.exceptions import ProviderError
from subliminal.utils import sanitize_release_group
from subliminal.subtitle import guess_matches
from subliminal.video import Episode, Movie
from subliminal.video import Episode
from subliminal.subtitle import SUBTITLE_EXTENSIONS, fix_line_ending,guess_matches
from subzero.language import Language
import gzip
logger = logging.getLogger(__name__)
class LegendasdivxSubtitle(Subtitle):