aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2017-09-16 02:28:28 +0800
committerGitHub <noreply@github.com>2017-09-16 02:28:28 +0800
commita88d461dff67205fcec684426afbcbeb4b0e7cf5 (patch)
treef5a0ba57242b84aafba2c37740855f9169f47a8d /youtube_dl/YoutubeDL.py
parenta4245acef85ac2414e77cf2cda4cb39adb617241 (diff)
parentfeee8d32e45c9521426cf4a089c70f37542f0065 (diff)
Merge pull request #14225 from Tithen-Firion/openload-phantomjs-method
Openload phantomjs method
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 5405a87c5..bfb4ff225 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -89,6 +89,7 @@ from .utils import (
write_string,
YoutubeDLCookieProcessor,
YoutubeDLHandler,
+ PhantomJSwrapper,
)
from .cache import Cache
from .extractor import get_info_extractor, gen_extractor_classes, _LAZY_LOADER
@@ -2217,6 +2218,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())