Update plugins/button.py
Browse files- plugins/button.py +2 -2
plugins/button.py
CHANGED
@@ -43,8 +43,8 @@ async def youtube_dl_call_back(_bot, update):
|
|
43 |
custom_file_name = (
|
44 |
str(response_json.get("title")) + "_" + youtube_dl_format + "." + youtube_dl_ext
|
45 |
)
|
46 |
-
youtube_dl_username = None
|
47 |
-
youtube_dl_password = None
|
48 |
|
49 |
if "|" in youtube_dl_url:
|
50 |
url_parts = youtube_dl_url.split("|")
|
|
|
43 |
custom_file_name = (
|
44 |
str(response_json.get("title")) + "_" + youtube_dl_format + "." + youtube_dl_ext
|
45 |
)
|
46 |
+
youtube_dl_username = os.environ.get("YTU", None)
|
47 |
+
youtube_dl_password = os.environ.get("YTP", None)
|
48 |
|
49 |
if "|" in youtube_dl_url:
|
50 |
url_parts = youtube_dl_url.split("|")
|