]> jfr.im git - yt-dlp.git/blobdiff - devscripts/buildserver.py
[extractor] Common function `_match_valid_url`
[yt-dlp.git] / devscripts / buildserver.py
index 62dbd2cb17590bbd2e05fc37a1d7ba6e24af5c46..cd544b816e7d3c9ca3fcf293cc7fc19eb946566c 100644 (file)
@@ -1,3 +1,5 @@
+# UNUSED
+
 #!/usr/bin/python3
 
 import argparse
@@ -12,7 +14,7 @@
 import os.path
 
 sys.path.insert(0, os.path.dirname(os.path.dirname((os.path.abspath(__file__)))))
-from youtube_dlc.compat import (
+from yt_dlp.compat import (
     compat_input,
     compat_http_server,
     compat_str,
@@ -325,7 +327,7 @@ class YoutubeDLBuilder(object):
     authorizedUsers = ['fraca7', 'phihag', 'rg3', 'FiloSottile', 'ytdl-org']
 
     def __init__(self, **kwargs):
-        if self.repoName != 'youtube-dlc':
+        if self.repoName != 'yt-dlp':
             raise BuildError('Invalid repository "%s"' % self.repoName)
         if self.user not in self.authorizedUsers:
             raise HTTPError('Unauthorized user "%s"' % self.user, 401)