X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2F__init__.py;h=e73bc5c37fb6aad2322d0a26914cdfb3d9f8446a;hb=4644ac5527e48a1a8c48dc790621c73913e6dbf8;hp=a8d5095aeba0faed0b0464d82198663efc7dc77c;hpb=997987d568b49cb3720083d85f120ef634989ba9;p=youtube-dl diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index a8d5095ae..e73bc5c37 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -77,6 +77,8 @@ __authors__ = ( 'Magnus Kolstad', 'Hari Padmanaban', 'Carlos Ramos', + '5moufl', + 'lenaten', ) __license__ = 'Public Domain' @@ -92,6 +94,7 @@ from .options import ( parseOpts, ) from .utils import ( + compat_expanduser, compat_getpass, compat_print, DateRange, @@ -283,7 +286,7 @@ def _real_main(argv=None): u' template'.format(outtmpl)) any_printing = opts.geturl or opts.gettitle or opts.getid or opts.getthumbnail or opts.getdescription or opts.getfilename or opts.getformat or opts.getduration or opts.dumpjson - download_archive_fn = os.path.expanduser(opts.download_archive) if opts.download_archive is not None else opts.download_archive + download_archive_fn = compat_expanduser(opts.download_archive) if opts.download_archive is not None else opts.download_archive ydl_opts = { 'usenetrc': opts.usenetrc,