about summary refs log tree commit diff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorTithen-Firion <tithen.firion.0@gmail.com>2017-08-03 14:17:25 +0200
committerTithen-Firion <tithen.firion.0@gmail.com>2017-08-03 14:17:25 +0200
commitfeee8d32e45c9521426cf4a089c70f37542f0065 (patch)
treea18fdfaec4b0328f2ce14f711ae31f0414efae07 /youtube_dl/YoutubeDL.py
parentc89267d31ad99eb5b1a87cd354de5280a2a087b1 (diff)
downloadyoutube-dl-feee8d32e45c9521426cf4a089c70f37542f0065.tar.gz
youtube-dl-feee8d32e45c9521426cf4a089c70f37542f0065.tar.xz
youtube-dl-feee8d32e45c9521426cf4a089c70f37542f0065.zip
[phantomjs] add exe version to debug info
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-xyoutube_dl/YoutubeDL.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index eb465c425..033b50702 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -86,6 +86,7 @@ from .utils import (
     write_string,
     YoutubeDLCookieProcessor,
     YoutubeDLHandler,
+    PhantomJSwrapper,
 )
 from .cache import Cache
 from .extractor import get_info_extractor, gen_extractor_classes, _LAZY_LOADER
@@ -2146,6 +2147,7 @@ class YoutubeDL(object):
 
         exe_versions = FFmpegPostProcessor.get_versions(self)
         exe_versions['rtmpdump'] = rtmpdump_version()
+        exe_versions['phantomjs'] = PhantomJSwrapper._version()
         exe_str = ', '.join(
             '%s %s' % (exe, v)
             for exe, v in sorted(exe_versions.items())