You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yt-dlp/youtube_dl
Lucas Moura 7c05097633
[jsinterp] Avoid double key lookup for setting new key
In order to add a new key to both __objects and __functions dicts on jsinterp.py, it is
necessary to first verify if a key was present and if not, create the key and
assign it to a value.

However, this can be done with a single step using dict setdefault method.
9 years ago
..
downloader [downloader/external] Decode error string before writing to stderr 9 years ago
extractor [r7] Fix extraction and add support for articles (Closes #9826) 9 years ago
postprocessor [compat] Rename shlex_quote and remove unused subprocess_check_output 9 years ago
YoutubeDL.py [YoutubeDL] Force string conversion on non string video ids 9 years ago
__init__.py [__init__] Use write_string instead of compat_string (Closes #9689) 9 years ago
__main__.py [refactor] Single quotes consistency 9 years ago
aes.py [aes] Switch to new-style classes 9 years ago
cache.py
compat.py [compat] Import html5 entities correctly 9 years ago
jsinterp.py [jsinterp] Avoid double key lookup for setting new key 9 years ago
options.py [options] Add --load-info-json alias for symmetry with --write-info-json 9 years ago
socks.py [socks] Remove a superfluous clause 9 years ago
swfinterp.py [compat] Rename struct_(un)pack to compat_struct_(un)pack 9 years ago
update.py [update] Fix youtube-dl.exe updating from arbitrary directory (Closes #2718) 9 years ago
utils.py [utils] Don't transform numbers not starting with a zero 9 years ago
version.py release 2016.06.19 9 years ago