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

[rai] improved subtitles extraction #27705

Merged
merged 9 commits into from
Jan 7, 2021
Merged

[rai] improved subtitles extraction #27705

merged 9 commits into from
Jan 7, 2021

Conversation

nixxo
Copy link
Contributor

@nixxo nixxo commented Jan 6, 2021

Before submitting a pull request make sure you have:

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

  • I am the original author of this code and I am willing to release it under Unlicense

What is the purpose of your pull request?

  • Bug fix
  • Improvement

Description of your pull request and other information

improved subtitles extraction, see #27698

Copy link
Collaborator

@remitamine remitamine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add an only matching test with a URL that has subtitlesArray.

youtube_dl/extractor/rai.py Outdated Show resolved Hide resolved
youtube_dl/extractor/rai.py Outdated Show resolved Hide resolved
- naming convention fix for subtitlesArray in subtitles_array
- added 'subtitlesUrl' as another key for subtitles extraction
- added TESTS for 'subtitlesArray' key
youtube_dl/extractor/rai.py Outdated Show resolved Hide resolved
youtube_dl/extractor/rai.py Outdated Show resolved Hide resolved
youtube_dl/extractor/rai.py Outdated Show resolved Hide resolved
nixxo and others added 3 commits January 7, 2021 13:20
Co-authored-by: remitamine <remitamine@gmail.com>
Co-authored-by: remitamine <remitamine@gmail.com>
youtube_dl/extractor/rai.py Outdated Show resolved Hide resolved
youtube_dl/extractor/rai.py Outdated Show resolved Hide resolved
@remitamine remitamine merged commit 3a61e6d into ytdl-org:master Jan 7, 2021
@nixxo nixxo deleted the rai-sub-extract branch January 7, 2021 13:54
ThirumalaiK pushed a commit to ThirumalaiK/youtube-dl that referenced this pull request Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants