# Fetch Filename from a python request import requests r = requests.get(url) r.headers['content-disposition']