mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-05 20:21:57 +02:00
[skip travis] renaming
to avoid using same folder when using pip install for example
This commit is contained in:
parent
9688f23716
commit
cefecac12c
861 changed files with 452 additions and 452 deletions
|
@ -12,7 +12,7 @@ import traceback
|
|||
import os.path
|
||||
|
||||
sys.path.insert(0, os.path.dirname(os.path.dirname((os.path.abspath(__file__)))))
|
||||
from youtube_dl.compat import (
|
||||
from youtube_dlc.compat import (
|
||||
compat_input,
|
||||
compat_http_server,
|
||||
compat_str,
|
||||
|
@ -325,7 +325,7 @@ class YoutubeDLBuilder(object):
|
|||
authorizedUsers = ['fraca7', 'phihag', 'rg3', 'FiloSottile', 'ytdl-org']
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
if self.repoName != 'youtube-dl':
|
||||
if self.repoName != 'youtube-dlc':
|
||||
raise BuildError('Invalid repository "%s"' % self.repoName)
|
||||
if self.user not in self.authorizedUsers:
|
||||
raise HTTPError('Unauthorized user "%s"' % self.user, 401)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue