Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please tell me how to get FileSize ?? #9330

Closed
praburamWAPKA opened this issue Apr 27, 2016 · 6 comments
Closed

Please tell me how to get FileSize ?? #9330

praburamWAPKA opened this issue Apr 27, 2016 · 6 comments

Comments

@praburamWAPKA
Copy link

@praburamWAPKA praburamWAPKA commented Apr 27, 2016

how to get video filesize in bytes using youtube-dl please give me some tips to get in php to write it :)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 27, 2016

Parse from --dump-json, each format dict may contain filesize field.

@dstftw dstftw closed this Apr 27, 2016
@praburamWAPKA
Copy link
Author

@praburamWAPKA praburamWAPKA commented Apr 27, 2016

no its not consists filesize please help me without using python could i get filesize

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 27, 2016

As I've already emphasized it's not guaranteed to.

@praburamWAPKA
Copy link
Author

@praburamWAPKA praburamWAPKA commented Apr 27, 2016

then anyother option suggestion please

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 27, 2016

There is no other option apart from extracting it yourself from Content-Length header.

@praburamWAPKA
Copy link
Author

@praburamWAPKA praburamWAPKA commented Apr 27, 2016

ok thank you for your replay :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.