Update twitfix.py
This commit is contained in:
parent
4a4afef368
commit
0f0098e6d7
|
@ -434,7 +434,7 @@ def dl(sub_path):
|
||||||
print(" ➤ [[ FILE DOES NOT EXIST, DOWNLOADING... ]]")
|
print(" ➤ [[ FILE DOES NOT EXIST, DOWNLOADING... ]]")
|
||||||
addToStat("downloads")
|
addToStat("downloads")
|
||||||
mp4file = urllib.request.urlopen(mp4link)
|
mp4file = urllib.request.urlopen(mp4link)
|
||||||
with open(("/srv/Twxtter-main/static/" + filename), "wb") as output:
|
with open(("/home/twitfix/Twxtter-main/static/" + filename), "wb") as output:
|
||||||
output.write(mp4file.read())
|
output.write(mp4file.read())
|
||||||
|
|
||||||
print(
|
print(
|
||||||
|
|
Reference in New Issue