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.
Any way of detecting multi-section downloads (slugs)? #7250
Comments
|
Which video are you downloading? Please provide the full verbose log with |
|
Here is an example: it produces a series of '.part-Frag' files that get put together at the end. Am wondering if there is a way can tell when a video like this is coming in and set it to download to a hidden file and then appear on the desktop once youtube-dl finishes with it. I saw the m3u8 in the output. Would that be the thing to watch for??theMachine:~ pcUser$ youtube-dl https://vimeo.com/channels/staffpicks/141041381 --verbose |
|
What do you mean by test it ahead of time? You can extract metadata and check |
|
My application already can download it to a temp directory. I am just trying to find how to query it to get that data. So you are saying it is in the use of the protocol flag, how is that called? |
|
If I do a --get-url on it I get: So should I grab the m3u8 off the end as my flag? AND would the 'f4m' or 'dash-segments' show up in the same way? |
|
A possible solution can be always downloading to a hidden folder and then moving the downloaded file via |
|
yan12125 -> Why would I do something so sane and obvious, when there must be a Rube Goldberg approach to the problem??!?!? But seriously, I probably will do just that!! The only real incentive to be able to check this, is because my app also runs a player on top of youtube-dl, and these multi-section files are tough to play in some instances => so I would maybe have it download and then play, or if the player kicks back an error pop up some blurb about... "the file requested must be downloaded to play...". |
Have noticed a number of new videos (like Vimeo) download in multiple sections that get combined at the end - VERY COOL.
Is there a way I can test for this ahead of time? Am hoping that in cases were they will download in this fashion to have them go to a temp folder and then get moved when all done.