yt-dlc/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.
2016-06-19 03:29:45 +07:00
..
downloader [downloader/external] Decode error string before writing to stderr 2016-06-12 16:45:07 +07:00
extractor [r7] Fix extraction and add support for articles (Closes #9826) 2016-06-19 02:25:34 +07:00
postprocessor [compat] Rename shlex_quote and remove unused subprocess_check_output 2016-05-10 16:00:21 +08:00
__init__.py [__init__] Use write_string instead of compat_string (Closes #9689) 2016-06-05 21:01:20 +07:00
__main__.py [refactor] Single quotes consistency 2016-02-14 15:37:17 +06:00
aes.py [aes] Switch to new-style classes 2016-02-14 14:01:43 +06:00
cache.py [cache] Fix writing to paths with unicode characters 2014-11-19 00:02:24 +01:00
compat.py [compat] Import html5 entities correctly 2016-06-10 18:12:57 +08:00
jsinterp.py [jsinterp] Avoid double key lookup for setting new key 2016-06-19 03:29:45 +07:00
options.py [options] Add --load-info-json alias for symmetry with --write-info-json 2016-06-06 02:52:58 +07:00
socks.py [socks] Remove a superfluous clause 2016-05-10 14:51:38 +08:00
swfinterp.py [compat] Rename struct_(un)pack to compat_struct_(un)pack 2016-05-10 14:51:38 +08:00
update.py [update] Fix youtube-dl.exe updating from arbitrary directory (Closes #2718) 2016-05-22 10:06:45 +06:00
utils.py [utils] Don't transform numbers not starting with a zero 2016-06-16 11:00:54 +08:00
version.py release 2016.06.19 2016-06-19 02:30:29 +07:00
YoutubeDL.py [YoutubeDL] Force string conversion on non string video ids 2016-06-09 05:34:19 +07:00