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.
Also add "file size" in -j option #1926
Comments
|
However, as detailed in #190 and probably a dozen other issues, it is not possible to always determine the filesize in advance, and complicated and slow (we have to send an extra request) to to determine it even if the download is via HTTP, and the server supports HEAD requests, and it sends a Since I don't need to determine file sizes in advance and it's more a ballpark figure anyways (For example, YouTube is always switching around files, so when we actually go download the file, it size may have changed already), I'm not interested in developing this option myself. Feel free to pose a pull request that offers that though (just make sure to test it at least that it doesn't mess with - at least - RTMP, HTTPS, broken HTTP servers that invalidate content after the first request, HTTP servers that don't support HEAD as per spec (i.e. return 501 or 415), HTTP servers that return HEAD requests without |
|
I'm sorry for repeating issue, thank you for description. |
youtube-dl --proxy "" -j http://www.aparat.com/v/teYF2 WARNING: Falling back on generic information extractor. {"extractor": "generic", "format": "0 - unknown", "uploader": "www.aparat.com", "format_id": "0", "id": "cc8ea41f89ccbcdcec29ead4965101d6859928", "stitle": "\u062d\u0644\u0642\u0647 \u0647\u0648\u0634\u0645\u0646\u062f \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u062a\u0644\u0641\u0646", "playlist": null, "title": "\u062d\u0644\u0642\u0647 \u0647\u0648\u0634\u0645\u0646\u062f \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u062a\u0644\u0641\u0646", "url": "http://host11.aparat.com//public/user_data/flv_video_new/287/cc8ea41f89ccbcdcec29ead4965101d6859928.apt", "extractor_key": "Generic", "playlist_index": null, "ext": "apt", "webpage_url": "http://www.aparat.com/v/teYF2", "fulltitle": "\u062d\u0644\u0642\u0647 \u0647\u0648\u0634\u0645\u0646\u062f \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u062a\u0644\u0641\u0646"}