Answer the question
In order to leave comments, you need to log in
How to download videos from the Internet correctly?
from requests import get
print('Скачиваю видео..')
video_data = get(one_file).content
print(video_data)
if os._exists(os.path.abspath(f'Foto/{num}.mp4')) == False:
with open(f'Foto/{num}.mp4', 'wb') as handler:
handler.write(video_data)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question