Skip to content

plugins.youtube: fix consent dialog #3672

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

Merged
merged 3 commits into from
Apr 3, 2021

Conversation

back-to
Copy link
Collaborator

@back-to back-to commented Apr 2, 2021

closes #3668

@back-to back-to added the plugin issue A Plugin does not work correctly label Apr 2, 2021
Copy link
Member

@bastimeyer bastimeyer left a comment

Choose a reason for hiding this comment

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

This always sends a GET request to the input URL twice, first for the redirection check (and the POST afterwards) and then regularly in _find_video_id, even if there's no redirection to the consent page. If there's always a consent confirmation which I'm not sure about, then it's not a problem, but if not then it's redundant and unnecessarily delays the resolving of the stream data.

@bastimeyer bastimeyer merged commit d568f43 into streamlink:master Apr 3, 2021
Billy2011 added a commit to Billy2011/streamlink-27 that referenced this pull request Apr 4, 2021
@back-to back-to deleted the yt_04_02_2021 branch May 22, 2021 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin issue A Plugin does not work correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

plugins.youtube: video_id not found by regexp
2 participants