mirror of
https://github.com/xoceunder/Xtream-UI-install.git
synced 2026-10-24 16:52:18 +02:00
14 lines
366 B
Python
14 lines
366 B
Python
#!/usr/bin/python3
|
|
# -*- coding: utf-8 -*-
|
|
# update panel
|
|
import subprocess, os, sys
|
|
from itertools import cycle, izip
|
|
|
|
def updateyoutube():
|
|
os.system("sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl")
|
|
os.system("sudo chmod a+rx /usr/local/bin/youtube-dl")
|
|
return True
|
|
|
|
if __name__ == "__main__":
|
|
updateyoutube()
|