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

[suggestion] add `text` sub-field in `subtitles` field of JSON #6647

Closed
fqj1994 opened this issue Aug 23, 2015 · 1 comment
Closed

[suggestion] add `text` sub-field in `subtitles` field of JSON #6647

fqj1994 opened this issue Aug 23, 2015 · 1 comment

Comments

@fqj1994
Copy link
Contributor

@fqj1994 fqj1994 commented Aug 23, 2015

Hello,

Some sites (kuwo, neteasemusic, qqmusic which youtube-dl supports) doesn't have a url to download subtitles/lyrics but the subtitles/lyrics's content is just part of the HTML page or a field of API response.

Those 3 extractors parsed the subtitles/lyrics of the 3 sites but put it into the description field as subtitles property only have url field rather than text field or similar things.

Adding a new sub-field text (which can be exclusive with url sub-field) allow extractors to put parsed subtitles directly into the data if subtitles content is located in a field of the API response rather than another URL.

If the owner believes it's OK, I'll do some development and file a PR to update those three extractors.

@fqj1994 fqj1994 changed the title add `text` sub-field in `subtitles` field of JSON [suggestion] add `text` sub-field in `subtitles` field of JSON Aug 23, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 23, 2015

This is already implemented. Provide concrete example URLs when subtitles are not extracted.

@fqj1994 fqj1994 closed this Aug 23, 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
2 participants
You can’t perform that action at this time.