Я пытаюсь очистить видео с помощью запросов или urllib, но как только оно загружено, оно не звучит и немного длиннее оригинального:
# 1st code :
import requests
url = "https://link/to/the/video.mp4"
path = "c:/Users/MyProfile/Desktop/video1.mp4"
obj = requests.get(url)
with open(path, "wb") as out_file :
out_file.write(obj.content)
# 2nd code :
import urllib
urllib.request.urlretrieve(url, path)