Commit Graph

13 Commits (39f0a2a6b71c5d3cb2e2f8ef1bc3eeeaa6a96971)

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 .
10 years ago
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
10 years ago
Philipp Hagemeister 63e0be3415 New option --dump-single-json (#4003) 10 years ago
Philipp Hagemeister 057a5206cc Add --flat-playlist option (Closes #4003) 10 years ago
Philipp Hagemeister 203fb43f36 [youtube] Download DASH manifest by default (Closes #3887) 10 years ago
Philipp Hagemeister 8450c15c25 [options] Consistent formatting and general niceness 10 years ago
Philipp Hagemeister b88b45e46c [options] Mention login in --username documentation (#3753) 10 years ago
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
10 years ago
Philipp Hagemeister d2e32f7df5 Do not use HTML characters in output
This messes up the format when people paste it outside of code tags.
10 years ago
Philipp Hagemeister 1de33fafd9 [YoutubeDL] Allow downloading multiple formats with , 10 years ago
Philipp Hagemeister e2e5dae64d Add -f m4a 10 years ago
Philipp Hagemeister 2daabe4992 [options] Correct option usage 10 years ago
Philipp Hagemeister 34a741a8ec [options] Move all options to their own file 10 years ago