Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
max-filesize or similar doesn't work for twitter or facebook with python #26861
Comments
|
You can't. Not all site provides filesize metadata. |
Checklist
Question
I'm trying to limit the filesize download throught a python script but it doesn't work on sites like twitter or facebook but works on youtube
Here's a few combinations of formats I tried also but they didn't worked:
Here's the output when I download something from twitter:
How can I control the max file size to be downloaded and to make it work on every site.