# -*- coding: utf-8 -*-
from __future__ import with_statement
+from __future__ import absolute_import
__authors__ = (
'Ricardo Garcia Gonzalez',
)
__license__ = 'Public Domain'
-__version__ = '2012.11.29'
UPDATE_URL = 'https://raw.github.com/rg3/youtube-dl/master/youtube-dl'
UPDATE_URL_VERSION = 'https://raw.github.com/rg3/youtube-dl/master/LATEST_VERSION'
import sys
import warnings
-from utils import *
-from FileDownloader import *
-from InfoExtractors import *
-from PostProcessor import *
+from .utils import *
+from .version import __version__
+from .FileDownloader import *
+from .InfoExtractors import *
+from .PostProcessor import *
def updateSelf(downloader, filename):
''' Update the program file with the latest version from the repository '''
if opts.list_extractors:
for ie in extractors:
- print(ie.IE_NAME)
+ print(ie.IE_NAME + (' (CURRENTLY BROKEN)' if not ie._WORKING else ''))
matchedUrls = filter(lambda url: ie.suitable(url), all_urls)
all_urls = filter(lambda url: url not in matchedUrls, all_urls)
for mu in matchedUrls: