]> jfr.im git - yt-dlp.git/commitdiff
Disable Updates
authorpukkandan <redacted>
Wed, 6 Jan 2021 11:58:30 +0000 (17:28 +0530)
committerpukkandan <redacted>
Wed, 6 Jan 2021 12:13:27 +0000 (17:43 +0530)
youtube_dlc/update.py
youtube_dlc/utils.py

index b358e902b2ba0b317bedd7855bff8858f96817f7..12b6c8608788a487d82669026107819670534187 100644 (file)
@@ -32,6 +32,8 @@ def rsa_verify(message, signature, key):
 def update_self(to_screen, verbose, opener):
     """Update the program file with the latest version from the repository"""
 
+    return to_screen('Update is currently broken.\nVisit  https://github.com/pukkandan/yt-dlc/releases/latest  to get the latest version')
+
     UPDATE_URL = 'https://blackjack4494.github.io//update/'
     VERSION_URL = UPDATE_URL + 'LATEST_VERSION'
     JSON_URL = UPDATE_URL + 'versions.json'
index 7a2ba9ebd16d0411a9cd963bcc83775ee087c0a8..6ed8629a7a8cd58b7b00cc3678e2a26f32909763 100644 (file)
@@ -4156,6 +4156,8 @@ def is_outdated_version(version, limit, assume_new=True):
 
 def ytdl_is_updateable():
     """ Returns if youtube-dlc can be updated with -U """
+    return False
+
     from zipimport import zipimporter
 
     return isinstance(globals().get('__loader__'), zipimporter) or hasattr(sys, 'frozen')