Commit Graph

163 Commits (master)

Author SHA1 Message Date
Philipp Hagemeister f5e2efbbf0 [options] Handle special characters in argv (Fixes #5157) 9 years ago
Jaime Marquínez Ferrándiz 88cf6fb368 [metadatafromtitle] Some improvements and cleanup
* Remove the 'songtitle' field, 'title' can be used instead.
* Remove newlines in the help text, for consistency with other options.
* Add 'from __future__ import unicode_literals'.
* Call '__init__' from the parent class.
* Add test for the format_to_regex method
9 years ago
phiresky e7db87f700 Add metadata from title parser
(Closes #5125)
9 years ago
Philipp Hagemeister 8bba753cca [options] Rename --dump-intermediate-pages to --dump-pages for consistence with --write-pages 9 years ago
Philipp Hagemeister 91410c9bfa [letv] Add --cn-verification-proxy (Closes #5077) 9 years ago
Philipp Hagemeister c75f0b361a [downloader/external] Add support for custom options (Fixes #4885, closes #5098) 9 years ago
Jaime Marquínez Ferrándiz 003c69a84b Use shutil.get_terminal_size for getting the terminal width if it's available (python >= 3.3) 9 years ago
Jaime Marquínez Ferrándiz e9fade72f3 Add postprocessor for converting subtitles (closes #4954) 9 years ago
Philipp Hagemeister df4bd0d53f [options] Add --yes-playlist as inverse of --no-playlist (Fixes #5051) 9 years ago
Jaime Marquínez Ferrándiz bfc993cc91 Merge branch 'subtitles-rework'
(Closes PR #4964)
9 years ago
Philipp Hagemeister 85729c51af [downloader] Add --hls-prefer-native to use the native HLS downloader (#4966) 9 years ago
Jaime Marquínez Ferrándiz a504ced097 Improve subtitles support
For each language the extractor builds a list with the available formats sorted (like for video formats), then YoutubeDL selects one of them using the '--sub-format' option which now allows giving the format preferences (for example 'ass/srt/best').
For each format the 'url' field can be set so that we only download the contents if needed, or if the contents needs to be processed (like in crunchyroll) the 'data' field can be used.

The reasons for this change are:
* We weren't checking that the format given with '--sub-format' was available, checking it in each extractor would be repetitive.
* It allows to easily support giving a format preference.
* The subtitles were automatically downloaded in the extractor, but I think that if you use for example the '--dump-json' option you want to finish as fast as possible.

Currently only the ted extractor has been updated, but the old system still works.
9 years ago
Philipp Hagemeister 73fac4e911 [ffmpeg] Add --ffmpeg-location 9 years ago
Philipp Hagemeister 2f543a2142 [options] Add alias --dump-header for --print-traffic 9 years ago
Philipp Hagemeister 7e5db8c930 [options] Add --no-color 9 years ago
Philipp Hagemeister 347de4931c [YoutubeDL] Add generic video filtering (Fixes #4916)
This functionality is intended to eventually encompass the current format filtering.
9 years ago
Philipp Hagemeister c06a9fa34f Use snake_case instead of camelCase 9 years ago
Sergey M․ 64f9baa084 [options] Mention asr as possible filter 9 years ago
Sergey M․ 6128bf07a9 [options] Update help on string comparisons 9 years ago
Philipp Hagemeister 9fffd0469f [options] Mark --fixup as non-experimental and correct its help 9 years ago
Philipp Hagemeister 9f0df77ab1 [YoutubeDL] Allow format filtering by fps 9 years ago
Philipp Hagemeister 881e6a1f5c Add --xattr-set-filesize option (Fixes #1348) 9 years ago
Philipp Hagemeister baeaeffce5 [options] Add support for infinite retries (Fixes #507) 9 years ago
Philipp Hagemeister c14e88f0f5 [YoutubeDL] Add --playlist-items option (Fixes #2662) 9 years ago
Philipp Hagemeister ec82d85acd [YoutubeDL] Implement --write-all-thumbnails (Closes #2269) 9 years ago
Philipp Hagemeister cfb56d1af3 Add --list-thumbnails 9 years ago
Philipp Hagemeister 222516d97d [downloader] Lay groundwork for external downloaders.
This comes with a very simply implementation for wget; the real work is in setting up the infrastructure.
9 years ago
Philipp Hagemeister 649f7966f7 Fix --sleep-interval (#3426) 9 years ago
Philipp Hagemeister 5f0d813d93 Merge remote-tracking branch 'rupertbaxter2/master'
Conflicts:
	youtube_dl/__init__.py
	youtube_dl/downloader/common.py
9 years ago
Philipp Hagemeister 083c9df93b [YoutubeDL] Allow filtering by properties (Fixes #4584) 9 years ago
Philipp Hagemeister ba319696a9 [options] Clarify that --password can be left out (#4723) 9 years ago
Philipp Hagemeister 8bfa75451b [options] Add --no-call-home
While we're at it, also drop "experimental" moniker for --call-home - should work fine.
9 years ago
Philipp Hagemeister 58b1f00d19 [YoutubeDL] Add new --call-home option for debugging 9 years ago
Philipp Hagemeister 500b8b41c1 [options] Add -4 and -6 options
Fixes #520, fixes #3626.
9 years ago
Philipp Hagemeister be4a824d74 Add new option --source-address
Closes #3618, fixes #721, fixes #2481, fixes #4551, closes #1020.
9 years ago
Philipp Hagemeister 6271f1cad9 [youtube|ffmpeg] Automatically correct video with non-square pixels (Fixes #4674) 9 years ago
Philipp Hagemeister bd1a281ede [options] PEP8 and simpler --merge-output-format handling (#4673) 9 years ago
Andrei Troie d120e9013f Added an option to specify an output format for merges when downloading separate video & audio 9 years ago
Philipp Hagemeister c0bdf32a3c Add --print-json (Closes #2845) 9 years ago
Philipp Hagemeister 0217c78377 [YoutubeDL] Allow selection by more extensions 9 years ago
Philipp Hagemeister a42419da42 [options] Upper-case options and URL in --help output
Hopefully, this reduces confusion as in #4610.
9 years ago
Philipp Hagemeister 2865cf0419 Deprecate --auto-number (Closes #2704) 10 years ago
Mark Schreiber ff815fe65a Download playlist items in reverse order
Series of videos are typically uploaded to YouTube playlists in
chronological order.  By default, these videos are downloaded
latest-to-earliest; this is great for seeing the latest videos in a
series, but prevents streaming video in the order that the videos were
produced.  Add an option to download videos in reverse order,
earliest-to-latest.

Conflicts:
	youtube_dl/YoutubeDL.py
	youtube_dl/__init__.py
10 years ago
Philipp Hagemeister d4e06d4a83 [options] Standardize mentoined configuration file location (Fixes #4367) 10 years ago
Philipp Hagemeister acda92f6bc Clarify --no-playlist documentation (Closes #4309) 10 years ago
Philipp Hagemeister b74e86f48a Fix all PEP8 issues except E501 10 years ago
Jouke Waleson 5f6a1245ff PEP8 applied 10 years ago
Philipp Hagemeister c7b0add86f [compat] Work around kwargs bugs in old 2.6 Python releases (Fixes #3813) 10 years ago
Philipp Hagemeister a1cf99d03a [YoutubeDL] Add playlist_id and playlist_title fields (Fixes #4139) 10 years ago
Jaime Marquínez Ferrándiz c2b61af548 [options] Document the syntax for merging formats (closes #3940, closes #4132) 10 years ago
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