mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-01 00:52:58 +01:00
better naming for the sub-modules
This commit is contained in:
parent
e179aadfdf
commit
d11d05d07a
@ -14,7 +14,7 @@
|
|||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
import ctypes
|
import ctypes
|
||||||
|
|
||||||
from Utils import *
|
from utils import *
|
||||||
|
|
||||||
|
|
||||||
class FileDownloader(object):
|
class FileDownloader(object):
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
except ImportError: # Python<2.5: Not officially supported, but let it slip
|
except ImportError: # Python<2.5: Not officially supported, but let it slip
|
||||||
warnings.warn('xml.etree.ElementTree support is missing. Consider upgrading to Python >= 2.5 if you get related errors.')
|
warnings.warn('xml.etree.ElementTree support is missing. Consider upgrading to Python >= 2.5 if you get related errors.')
|
||||||
|
|
||||||
from Utils import *
|
from utils import *
|
||||||
|
|
||||||
|
|
||||||
class InfoExtractor(object):
|
class InfoExtractor(object):
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from Utils import *
|
from utils import *
|
||||||
|
|
||||||
|
|
||||||
class PostProcessor(object):
|
class PostProcessor(object):
|
@ -38,10 +38,10 @@
|
|||||||
import urllib2
|
import urllib2
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
from Utils import *
|
from utils import *
|
||||||
from FileDownloader import *
|
from FileDownloader import *
|
||||||
from InfoExtractors import *
|
from InfoExtractors import *
|
||||||
from PostProcessing import *
|
from PostProcessor import *
|
||||||
|
|
||||||
def updateSelf(downloader, filename):
|
def updateSelf(downloader, filename):
|
||||||
''' Update the program file with the latest version from the repository '''
|
''' Update the program file with the latest version from the repository '''
|
||||||
|
Loading…
Reference in New Issue
Block a user