iTaybb / pySmartDL

A Smart Download Manager for Python
The Unlicense
198 stars 56 forks source link

reading the filename with content-disposition header #59

Open brightening-eyes opened 1 year ago

brightening-eyes commented 1 year ago

hi, it should be possible to first perform a head request, then from that returned response, read the headers. this way, it will be possible to obtain the filenames from dynamically generated URLS the filename will be stored in content-disposition header