Answer the question
In order to leave comments, you need to log in
Why is not the full file downloaded via python url?
I download the file via url from Bitrix. If I just click on the link in the browser, then a full-fledged file is downloaded. If I start using python, then a corrupted 22kb file is downloaded
files = []
for file in result:
files.append(url+file['downloadUrl'])
wget.download(files[0], 'lead_2020.pdf')
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