1

I want to detect download link of video of file on google drive and get the size of these files before downloading but actually content length is not provided. I've tried urllib and requests but the result is the same. By chance when the video page was open, IDM (internet download manager) detect the link and also the size.I want to know the idea or a solution to :

  1. file size before download
  2. detect link of download like IDM
Abdulrahman Dawoud
  • 411
  • 1
  • 4
  • 7
  • Does this answer your question? [Get size of a file before downloading in Python](https://stackoverflow.com/questions/5909/get-size-of-a-file-before-downloading-in-python) – vitaliis Apr 22 '21 at 05:27
  • And https://stackoverflow.com/questions/48452422/selenium-checking-size-of-file-before-clicking-to-download – vitaliis Apr 22 '21 at 05:28
  • I couldn't find answers.All of the above links are only answers that work with the content length provided. – Abdulrahman Dawoud Apr 22 '21 at 05:33

0 Answers0