+async function safeGetYoutubeDL () {
+ let youtubeDL
+
+ try {
+ youtubeDL = require('youtube-dl')
+ } catch (e) {
+ // Download binary
+ await YoutubeDlUpdateScheduler.Instance.execute()
+ youtubeDL = require('youtube-dl')
+ }
+
+ return youtubeDL
+}
+