mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
unused imports
This commit is contained in:
parent
fd4c5fb385
commit
8f89b00c5e
@ -1,11 +1,11 @@
|
||||
import xml.etree.ElementTree as ET
|
||||
import json
|
||||
import re
|
||||
import os
|
||||
from svtplay_dl.log import log
|
||||
from svtplay_dl.utils import is_py2, is_py3, get_http_data
|
||||
from svtplay_dl.output import output
|
||||
|
||||
|
||||
class subtitle(object):
|
||||
def __init__(self, options, subtype, url):
|
||||
self.url = url
|
||||
|
@ -22,7 +22,7 @@ is_py2_old = (sys.version_info < (2, 7))
|
||||
FIREFOX_UA = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3'
|
||||
|
||||
from svtplay_dl.utils.urllib import build_opener, Request, HTTPCookieProcessor, \
|
||||
HTTPRedirectHandler, HTTPError, URLError, \
|
||||
HTTPRedirectHandler, HTTPError, \
|
||||
addinfourl, CookieJar, urlparse
|
||||
|
||||
log = logging.getLogger('svtplay_dl')
|
||||
|
Loading…
Reference in New Issue
Block a user