Commit graph

163 commits

Author SHA1 Message Date
Philipp Hagemeister 8c25f81bee [util] Move compatibility functions out of util
utils is large enough without these compatibility functions.

Everything that is present in newer versions of Python (i.e. with dev Python it's just an import) goes into compat.py .
Everything else (i.e. youtube-dl-specific helpers) goes into utils.py .
2014-11-02 11:23:42 +01:00
Sergey M․ f889cea109 Merge branch 'compat-getenv-and-expanduser' of https://github.com/dstftw/youtube-dl into dstftw-compat-getenv-and-expanduser
Conflicts:
	test/test_utils.py
	youtube_dl/__init__.py
2014-10-26 19:56:52 +07:00
Philipp Hagemeister 63e0be3415 New option --dump-single-json (#4003) 2014-10-25 00:30:57 +02:00
Philipp Hagemeister 057a5206cc Add --flat-playlist option (Closes #4003) 2014-10-24 14:48:12 +02:00
Philipp Hagemeister 203fb43f36 [youtube] Download DASH manifest by default (Closes #3887) 2014-10-13 00:03:08 +02:00
Philipp Hagemeister 8450c15c25 [options] Consistent formatting and general niceness 2014-10-12 23:10:11 +02:00
Philipp Hagemeister b88b45e46c [options] Mention login in --username documentation (#3753) 2014-10-12 22:45:36 +02:00
Sergey M․ 4644ac5527 [core] Decode environment variables with filesystem encoding (Fixes #3854, Fixes #3217, Fixes #2918)
Introduces compat versions of os.getenv and os.path.expanduser
2014-09-30 22:27:53 +07:00
Philipp Hagemeister d2e32f7df5 Do not use HTML characters in output
This messes up the format when people paste it outside of code tags.
2014-09-29 00:23:43 +02:00
Philipp Hagemeister 1de33fafd9 [YoutubeDL] Allow downloading multiple formats with , 2014-09-18 18:43:49 +02:00
Philipp Hagemeister e2e5dae64d Add -f m4a 2014-09-18 18:40:19 +02:00
Philipp Hagemeister 2daabe4992 [options] Correct option usage 2014-09-13 07:58:44 +02:00
Philipp Hagemeister 34a741a8ec [options] Move all options to their own file 2014-09-13 07:55:21 +02:00