From 01e829dc84e33d5857e897b7afb241eb88f5c730 Mon Sep 17 00:00:00 2001 From: Roshan Thomas Date: Thu, 20 Jul 2023 09:08:42 +1000 Subject: [PATCH 1/2] Pytube Temp Fix --- publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish.sh b/publish.sh index 1759162..d97fb97 100755 --- a/publish.sh +++ b/publish.sh @@ -77,7 +77,7 @@ if [[ `pip3 list --path lambdalayer/pytube/python | grep pytube | awk '{print $2 replacewith=`head -287 lambdalayer/pytube/python/pytube/cipher.py| tail -1 | sed 's/;//g'` lines=`wc -l lambdalayer/pytube/python/pytube/cipher.py | awk '{print $1}'` head -286 lambdalayer/pytube/python/pytube/cipher.py > cipher.py && echo $replacewith >> cipher.py && tail -`expr $lines - 287` lambdalayer/pytube/python/pytube/cipher.py >> cipher.py - mv cipher.py lambdalayer/pytube/python/pytube/cipher.py + sed 's/raise RegexMatchError(caller="get_transform_object", pattern=pattern)/return []/g' cipher.py > lambdalayer/pytube/python/pytube/cipher.py fi echo "Create timestamped zipfile for lambdas and layers" # pytube-llayer From afcc89f47bfd123494906e8f401e8490cdf9d847 Mon Sep 17 00:00:00 2001 From: Bob Strahan Date: Fri, 21 Jul 2023 13:02:49 +0000 Subject: [PATCH 2/2] Merge PR #31 and make version v0.3.2 --- CHANGELOG.md | 9 +++++++-- cfn-templates/msfinder.yaml | 2 +- cfn-templates/msindexer.yaml | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5ce7f7..ffec3e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.3.2] - 2023-07-21 +### Added +- Additional temporary fix to resolve YouTube playlist download failures by patching cipher.py for pytube version 15.0.0 - See PR #31 + ## [0.3.1] - 2023-07-06 ### Added -- Temporary fix to resolve YouTube playlist download failures by patching cipher.py for pytube version 15.0.0 +- Temporary fix to resolve YouTube playlist download failures by patching cipher.py for pytube version 15.0.0 - See PR #30 ## [0.3.0] - 2023-05-16 ### Added @@ -23,7 +27,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release -[Unreleased]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/compare/v0.3.1...develop +[Unreleased]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/compare/v0.3.2...develop +[0.3.2]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/compare/v0.3.1...v0.3.2 [0.3.1]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/compare/v0.3.0...v0.3.1 [0.3.0]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/compare/v0.2.0...v0.3.0 [0.2.0]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/compare/v0.1.0...v0.2.0 diff --git a/cfn-templates/msfinder.yaml b/cfn-templates/msfinder.yaml index c29f16b..327a657 100644 --- a/cfn-templates/msfinder.yaml +++ b/cfn-templates/msfinder.yaml @@ -1,5 +1,5 @@ Description: > - MediaSearch Solution - Finder stack (v0.3.1) + MediaSearch Solution - Finder stack (v0.3.2) Resources: ##Create Cognito Userpool for Authentication diff --git a/cfn-templates/msindexer.yaml b/cfn-templates/msindexer.yaml index 9fa6ffc..754baf4 100644 --- a/cfn-templates/msindexer.yaml +++ b/cfn-templates/msindexer.yaml @@ -1,5 +1,5 @@ Description: > - MediaSearch Solution - Indexer stack (v0.3.1) + MediaSearch Solution - Indexer stack (v0.3.2) Resources: # This MediaBucket only holds the downloaded YouTube videos