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.
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
__init__.py
__main__.py
aes.py
cache.py
compat.py
jsinterp.py [jsinterp] Avoid double key lookup for setting new key 2016-06-19 03:29:45 +07:00
options.py
socks.py
swfinterp.py
update.py
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