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

Misplaced information in JSON? #6646

Closed
rsd opened this issue Aug 23, 2015 · 3 comments
Closed

Misplaced information in JSON? #6646

rsd opened this issue Aug 23, 2015 · 3 comments

Comments

@rsd
Copy link

@rsd rsd commented Aug 23, 2015

Hello,

Looking at the JSON generated for a playlist, I have noted some entries that seem to be out of place.
e.g.
On each entry there is:
height, width, ext, abr, acodec, format, vcodec, ...
where they are usually inside the formats[] array.

Is this right?
Is there a meaning form them to be outside of formats[]?
Or this is simple how youtbe deliver the data.

Thanks

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 23, 2015

Provide concrete example URLs.

@rsd
Copy link
Author

@rsd rsd commented Aug 24, 2015

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Aug 24, 2015

When a formats is chosen for downloading, its info from the formats fields is copied to the root dictionary. This is the expected behaviour.

@jaimeMF jaimeMF closed this Aug 24, 2015
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
3 participants
You can’t perform that action at this time.