mirror of
https://github.com/xoceunder/Xtream-UI-install.git
synced 2026-10-26 00:32:23 +01:00
14 lines
379 B
Python
14 lines
379 B
Python
#!/usr/bin/python3
|
|
# -*- coding: utf-8 -*-
|
|
# update panel
|
|
import subprocess, os, sys
|
|
from itertools import cycle
|
|
|
|
def updateyoutube():
|
|
os.system("sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/youtube-dl")
|
|
os.system("sudo chmod a+rx /usr/local/bin/youtube-dl")
|
|
return True
|
|
|
|
if __name__ == "__main__":
|
|
updateyoutube()
|