generic extractor cognito idp - import library #12591

Open
opened 2026-02-21 06:42:19 -05:00 by deekerman · 2 comments
Owner

Originally created by @wernerkarlheisenberg on GitHub (Jan 16, 2018).

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

I updating the extractor for VIER. Authentication part is no longer working as the website moved to AWS Cognito IDP for authentication. I want create a general extractor for Cognito IDP (I'm assuming that other sites will also start using the platform for authentication in the future.). There is a very neat python library (warrant) that already has support for Cognito IDP, so rather than reinventing the wheel, I would like to import that package (which will generate a new dependency.). Would that be allowed?

Originally created by @wernerkarlheisenberg on GitHub (Jan 16, 2018). ### What is the purpose of your *issue*? - [ ] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [X] Question - [ ] Other --- I updating the extractor for VIER. Authentication part is no longer working as the website moved to AWS Cognito IDP for authentication. I want create a general extractor for Cognito IDP (I'm assuming that other sites will also start using the platform for authentication in the future.). There is a very neat python library ([warrant](https://github.com/capless/warrant)) that already has support for Cognito IDP, so rather than reinventing the wheel, I would like to import that package (which will generate a new dependency.). Would that be allowed?
Author
Owner

@yan12125 commented on GitHub (Jan 16, 2018):

For this case, +1 for using warrant. It depends on AWS SDK boto3, and I don't think anyone wants to reimplement that.

An issue is that youtube-dl for Windows is built against Python 3.4 for supporting Windows XP (#10014), and looks like it doesn't explicitly state support for 3.4:

github.com/capless/warrant@ff2e4793d8/setup.py (L20)

@yan12125 commented on GitHub (Jan 16, 2018): For this case, +1 for using warrant. It depends on AWS SDK boto3, and I don't think anyone wants to reimplement that. An issue is that youtube-dl for Windows is built against Python 3.4 for supporting Windows XP (#10014), and looks like it doesn't explicitly state support for 3.4: https://github.com/capless/warrant/blob/ff2e4793d8479e770f2461ef7cbc0c15ee784395/setup.py#L20
Author
Owner

@wernerkarlheisenberg commented on GitHub (Jan 20, 2018):

I did a quick test on my MacBook using python 3.4.7 and it worked without any problem. So my conclusion is that for Cognitto IDP, python 3.4 is sufficient.

@wernerkarlheisenberg commented on GitHub (Jan 20, 2018): I did a quick test on my MacBook using python 3.4.7 and it worked without any problem. So my conclusion is that for Cognitto IDP, python 3.4 is sufficient.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#12591
No description provided.