Commit Graph

424 Commits (c3e74731c2acd2878a38c2a2daa2ed0c11352762)

Author SHA1 Message Date
Philipp Hagemeister b74e86f48a Fix all PEP8 issues except E501 10 years ago
Jouke Waleson 8bcc875676 PEP8: more applied 10 years ago
Jouke Waleson 5f6a1245ff PEP8 applied 10 years ago
Philipp Hagemeister 7d4111ed14 Provide guidance when called with a YouTube ID starting with a dash.
Reported at https://news.ycombinator.com/item?id=8648121
10 years ago
Philipp Hagemeister e07e931375 Work around 2.7.0 deficencies (Fixes #4223) 10 years ago
Philipp Hagemeister a4bc433619 [__init__] Modernize 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
Philipp Hagemeister 3511266bc3 [YoutubeDL] Simplify API of YoutubeDL
Calling add_default_extractors twice should be harmless since the first set of extractors will match.
10 years ago
Philipp Hagemeister 64269e4d01 Move AUTHORS to root (closes #2985) 10 years ago
Philipp Hagemeister 5894a4f4ee Credit @gabeos for crunchyroll:playlist (#3988) 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
Jaime Marquínez Ferrándiz 1bdeb7be2e Set '--simulate' if any of the printing options is given (fixes #3036)
That's what the help messages say.
Previously it would only set '--skip-download', which would write thumbnail,
descriptions or subtitles if they were requested (for example you may have set
'--write-thumbnail' in the config file).
10 years ago
Philipp Hagemeister 7fc54e5262 Merge remote-tracking branch 'xavierbeynon/audiomack' 10 years ago
Philipp Hagemeister ec9c978481 Credit @winwon for vidzi (#3989) 10 years ago
xavier fdfefa1b9c Made changes per phihag 10 years ago
Philipp Hagemeister 63e0be3415 New option --dump-single-json (#4003) 10 years ago
Philipp Hagemeister 964ae0a122 Credit @thornomad for glide (#3944) 10 years ago
Philipp Hagemeister 2acfe95f58 Credit @capital-G for bild.de (#3983) 10 years ago
Philipp Hagemeister 057a5206cc Add --flat-playlist option (Closes #4003) 10 years ago
Philipp Hagemeister f2f2c0c2c6 [generic] Allow --default-search without colon 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
Sergey M․ 5e43e3803c Credit @lenaten for ynet (#3840) and sport5 (#3841) 10 years ago
Philipp Hagemeister 5a13fe9ed2 Credit @m5moufl for behindkink (#3740) 10 years ago
Philipp Hagemeister 997987d568 Credit @r4mos for allmyvideos 10 years ago
Philipp Hagemeister ae369738b0 Credit @haricharan for einthusan (#3755) 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
Sergey M․ 140d8d77b3 Credit @mrkolby for dbtv.no (#3685) 10 years ago
Philipp Hagemeister a0e07d3161 [youtube] Move cache into its own module 10 years ago
Philipp Hagemeister 35b1e44567 Fix --rm-cache-dir error message 10 years ago
Philipp Hagemeister 8d31fa3cce [execafterdownload] Simplify (#3569) 10 years ago
mcd1992 7833d941bb Rebased with upstream/master 10 years ago
mcd1992 a2360a4c80 Moved from os.system to subprocess.call 10 years ago
mcd1992 a7cacbca2b Implemented --exec option. 10 years ago
Philipp Hagemeister 9480d1a566 Merge remote-tracking branch 'riking/twofactor' 10 years ago
Philipp Hagemeister 36b0079f23 Credit @olebowle for GameOne:playlist (#3247) 10 years ago
Philipp Hagemeister 00558d9414 Merge remote-tracking branch 'sehrgut/Grooveshark'
Conflicts:
	youtube_dl/__init__.py
	youtube_dl/extractor/__init__.py
10 years ago
Philipp Hagemeister deda8ac376 Credit @terminalmage for patreon (#3390) 10 years ago
Philipp Hagemeister 3f338cd6de Credit @akirk for ellentv 10 years ago
riking 83317f6938 [youtube] Add two-factor account signin (TOTP only)
Additional work is required to prompt the user for the SMS or phone call codes, as there is no framework currently to prompt the user during an extraction operation.

Fixes #3533
10 years ago
Sergey M․ 56ca04f662 Credit @sehaas for ORF FM4 extractor (#3431) 10 years ago
Sergey M․ 4665664c92 Credit @DavidFabijan for mojvideo (#3423) 10 years ago
Sergey M․ e48a2c646d Credit @matrixik for #3441 10 years ago
Philipp Hagemeister 10b04ff7f4 Move --bidi-workaround to workarounds option group
Duh.
10 years ago
Philipp Hagemeister 1f7ccb9014 [generic] Add --default-search fixup_error
This restores the ability to enter URLs without a scheme (and default to http), but still fail if the input is a search term.
10 years ago
Philipp Hagemeister 052421ff09 Add --rm-cache-dir 10 years ago
Philipp Hagemeister 4e99f48817 deprecate --title
This is the default already. If you want a specific format, pick it with -o or --id.
10 years ago
Philipp Hagemeister a11165ecc6 Reorder filesytem options
* Push down the deprecated ones
* Roughly order file-name, no-*, write-*, further options
10 years ago
Philipp Hagemeister fbb2fc5580 Group cache-related options under filesystem 10 years ago
Philipp Hagemeister 2fe3d240cc Regroup and hide workaround options
These options are rarely necessary. Hide them to make the important options in the general group more obvious.
10 years ago