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

[BrightcoveNew] Add playlist support #21331

Merged
merged 4 commits into from
Jun 23, 2019
Merged

Conversation

kylepw
Copy link
Contributor

@kylepw kylepw commented Jun 8, 2019

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
  • I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

  • Bug fix
  • Improvement
  • New extractor
  • New feature

Description of your pull request and other information

I added support for playlist streams to BrightcoveNewIE, including an additional test. Only differences between 'playlist' and 'video' streams are the 'xxxId' part of the URL and the format of the JSON response, both of which are covered in this PR.

@kylepw kylepw changed the title Add playlist support to BrightcoveNewIE [BrightcoveNew] Add playlist support Jun 8, 2019
@kylepw kylepw force-pushed the bcplaylist branch 6 times, most recently from 3df6bcd to 8d6685b Compare June 14, 2019 14:48
@kylepw
Copy link
Contributor Author

kylepw commented Jun 16, 2019

@dstftw Could you take a look at this? It's not much new code. I'd really like to add BC playlist support. Thanks!

@dstftw
Copy link
Collaborator

dstftw commented Jun 17, 2019

Does not seem to work.

youtube-dl https://players.brightcove.net/1752604059001/S13cJdUBz_default/index.html?playlistId=5718313430001

must extract playlist of 7 video entries not a single video with all playlist entries dumped as formats.

@kylepw
Copy link
Contributor Author

kylepw commented Jun 21, 2019

must extract playlist of 7 video entries not a single video with all playlist entries dumped as formats.

@dstftw Okay, it extracts playlists now. How is this?

youtube_dl/extractor/brightcove.py Outdated Show resolved Hide resolved
youtube_dl/extractor/brightcove.py Show resolved Hide resolved
youtube_dl/extractor/brightcove.py Outdated Show resolved Hide resolved
youtube_dl/extractor/brightcove.py Outdated Show resolved Hide resolved
youtube_dl/extractor/brightcove.py Show resolved Hide resolved
@kylepw
Copy link
Contributor Author

kylepw commented Jun 23, 2019

@dstftw I made the requested changes. Please confirm.

@dstftw dstftw merged commit 3031b7c into ytdl-org:master Jun 23, 2019
@kylepw kylepw deleted the bcplaylist branch June 23, 2019 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants