diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b7e2439..532c4ef 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,28 +1,29 @@ name: lint on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] + +permissions: + contents: read + pull-requests: read + checks: write jobs: golangci: name: lint - runs-on: ${{ matrix.os }} - strategy: - matrix: - go-version: [1.18.x] - os: [ubuntu-latest] + runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: ${{ matrix.go-version }} - - - name: Checkout code - uses: actions/checkout@v3 + go-version: stable - name: Lint with golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: - version: latest + version: v1.58 diff --git a/.golangci.yml b/.golangci.yml index 3de0936..45fdd81 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -5,12 +5,12 @@ run: modules-download-mode: readonly allow-parallel-runners: true -output: - format: github-actions +outputs: + format: colored-line-number linters: enable: - - golint + - revive - gosec - lll - wsl diff --git a/Makefile b/Makefile index 9294ca4..f5644e6 100644 --- a/Makefile +++ b/Makefile @@ -23,10 +23,22 @@ validate: --template ./templates/sam.template.yaml \ --lint +deploy-init: + sam deploy \ + --stack-name rito-news-feeds-${STAGE} \ + --config-env ${STAGE} \ + --parameter-overrides \ + ParameterKey=DomainName,ParameterValue=${DOMAIN_NAME} \ + ParameterKey=BucketName,ParameterValue=${BUCKET_NAME} \ + ParameterKey=DistributionId,ParameterValue=${DISTRIBUTION_ID} \ + ParameterKey=Stage,ParameterValue=${STAGE} \ + --capabilities CAPABILITY_NAMED_IAM \ + --guided + deploy: sam deploy \ --stack-name rito-news-feeds-${STAGE} \ - --config-file ./templates/samconfig.toml \ + --config-file ./samconfig.toml \ --config-env ${STAGE} \ --parameter-overrides \ ParameterKey=DomainName,ParameterValue=${DOMAIN_NAME} \ @@ -99,8 +111,8 @@ build-LegendsOfRuneterraStatusChecker: mv ./lorstatus $(ARTIFACTS_DIR)/bootstrap build-LegendsOfRuneterraNewsChecker: - GOARCH=amd64 GOOS=linux go build -trimpath -o ./lornews lor/news/main.go lor/news/utils.go - mv ./lornews $(ARTIFACTS_DIR)/lornews + GOARCH=arm64 GOOS=linux go build -trimpath -o ./lornews lor/news/main.go lor/news/utils.go + mv ./lornews $(ARTIFACTS_DIR)/bootstrap #endregion Build: Legends of Runeterra #region Build: Teamfight Tactics diff --git a/README.md b/README.md index e71e572..1215e2a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # rito-news-feeds -[![Build status](https://img.shields.io/github/workflow/status/Antosik/rito-news-feeds/lint)](https://github.com/Antosik/rito-news-feeds/actions/workflows/lint.yml) +[![Build status](https://img.shields.io/github/actions/workflow/status/Antosik/rito-news-feeds/lint.yml)](https://github.com/Antosik/rito-news-feeds/actions/workflow/lint.yml) ## Description This service generates an Atom, JSONFeed, RSS and raw JSON data from various official news sources about League of Legends, VALORANT, Legends of Runeterra, Teamfight Tactics, Wild Rift and Riot Games. diff --git a/docs/en/league-of-legends/esports.md b/docs/en/league-of-legends/esports.md index cf18823..34cac4c 100644 --- a/docs/en/league-of-legends/esports.md +++ b/docs/en/league-of-legends/esports.md @@ -5,7 +5,7 @@ The service generates files that contains the esports news from official League ## File URL The files url looks like ``` -https://rito-news.iamantosik.me/lol/{locale}/esports.{extension} +https://data.rito.news/lol/{locale}/esports.{extension} ``` ### Available locales @@ -41,5 +41,5 @@ https://rito-news.iamantosik.me/lol/{locale}/esports.{extension} - Raw data (`.json`) ### Examples -- RSS for NA esports news - https://rito-news.iamantosik.me/lol/en-us/esports.rss -- Raw esports news data for Korean server - https://rito-news.iamantosik.me/lol/ko-kr/esports.json +- RSS for NA esports news - https://data.rito.news/lol/en-us/esports.rss +- Raw esports news data for Korean server - https://data.rito.news/lol/ko-kr/esports.json diff --git a/docs/en/league-of-legends/news.md b/docs/en/league-of-legends/news.md index d3e2fce..3c1477e 100644 --- a/docs/en/league-of-legends/news.md +++ b/docs/en/league-of-legends/news.md @@ -5,7 +5,7 @@ The service generates files that contains the news from official League of Legen ## File URL The files url looks like ``` -https://rito-news.iamantosik.me/lol/{locale}/news.{extension} +https://data.rito.news/lol/{locale}/news.{extension} ``` ### Available locales @@ -41,5 +41,5 @@ https://rito-news.iamantosik.me/lol/{locale}/news.{extension} - Raw data (`.json`) ### Examples -- RSS for NA news - https://rito-news.iamantosik.me/lol/en-us/news.rss -- Raw news data for Korean server - https://rito-news.iamantosik.me/lol/ko-kr/news.json +- RSS for NA news - https://data.rito.news/lol/en-us/news.rss +- Raw news data for Korean server - https://data.rito.news/lol/ko-kr/news.json diff --git a/docs/en/league-of-legends/server-status.md b/docs/en/league-of-legends/server-status.md index 987c8bc..a5533ce 100644 --- a/docs/en/league-of-legends/server-status.md +++ b/docs/en/league-of-legends/server-status.md @@ -5,7 +5,7 @@ The service generates files that contains theserver status message from League o ## File URL The files url looks like ``` -https://rito-news.iamantosik.me/lol/{locale}/status.{server}.{extension} +https://data.rito.news/lol/{locale}/status.{server}.{extension} ``` ### Available servers and locales @@ -61,5 +61,5 @@ https://rito-news.iamantosik.me/lol/{locale}/status.{server}.{extension} - Raw data (`.json`) ### Examples -- RSS for NA server status messages - https://rito-news.iamantosik.me/lol/en-us/status.na.rss -- Raw server status data for Korean server - https://rito-news.iamantosik.me/lol/ko-kr/status.kr.json +- RSS for NA server status messages - https://data.rito.news/lol/en-us/status.na.rss +- Raw server status data for Korean server - https://data.rito.news/lol/ko-kr/status.kr.json diff --git a/docs/en/legends-of-runeterra/news.md b/docs/en/legends-of-runeterra/news.md index ec83891..cd737a3 100644 --- a/docs/en/legends-of-runeterra/news.md +++ b/docs/en/legends-of-runeterra/news.md @@ -5,7 +5,7 @@ The service generates files that contains the news from official Legends of Rune ## File URL The file url should be formed like ``` -https://rito-news.iamantosik.me/lor/{locale}/news.{extension} +https://data.rito.news/lor/{locale}/news.{extension} ``` ### Available locales @@ -33,5 +33,5 @@ https://rito-news.iamantosik.me/lor/{locale}/news.{extension} - Raw data (`.json`) ### Examples -- RSS for English locale news - https://rito-news.iamantosik.me/lor/en-us/news.rss -- Raw news data for Korean locale - https://rito-news.iamantosik.me/lor/ko-kr/news.json +- RSS for English locale news - https://data.rito.news/lor/en-us/news.rss +- Raw news data for Korean locale - https://data.rito.news/lor/ko-kr/news.json diff --git a/docs/en/legends-of-runeterra/server-status.md b/docs/en/legends-of-runeterra/server-status.md index 36b4fb9..4048378 100644 --- a/docs/en/legends-of-runeterra/server-status.md +++ b/docs/en/legends-of-runeterra/server-status.md @@ -5,7 +5,7 @@ The service generates files that contains theserver status message from Legends ## File URL The file url should be formed like ``` -https://rito-news.iamantosik.me/lor/{locale}/status.{server}.{extension} +https://data.rito.news/lor/{locale}/status.{server}.{extension} ``` ### Available servers @@ -37,5 +37,5 @@ https://rito-news.iamantosik.me/lor/{locale}/status.{server}.{extension} - Raw data (`.json`) ### Examples -- RSS for americas server status messages with english locale - https://rito-news.iamantosik.me/lor/en-us/status.americas.rss -- Raw server status data for europe server with italian locale - https://rito-news.iamantosik.me/lor/it-it/status.europe.json +- RSS for americas server status messages with english locale - https://data.rito.news/lor/en-us/status.americas.rss +- Raw server status data for europe server with italian locale - https://data.rito.news/lor/it-it/status.europe.json diff --git a/docs/en/riot-games/jobs.md b/docs/en/riot-games/jobs.md index 8b633a8..63d6337 100644 --- a/docs/en/riot-games/jobs.md +++ b/docs/en/riot-games/jobs.md @@ -6,7 +6,7 @@ The service generates files that contains the available jobs from official Riot ## File URL The files url looks like ``` -https://rito-news.iamantosik.me/riotgames/{locale}/jobs.{extension} +https://data.rito.news/riotgames/{locale}/jobs.{extension} ``` ### Available locales @@ -43,5 +43,5 @@ https://rito-news.iamantosik.me/riotgames/{locale}/jobs.{extension} - Raw data (`.json`) ### Examples -- RSS for news in english locale - https://rito-news.iamantosik.me/riotgames/en/news.rss -- Raw news data in korean - https://rito-news.iamantosik.me/riotgames/ko/news.json +- RSS for news in english locale - https://data.rito.news/riotgames/en/news.rss +- Raw news data in korean - https://data.rito.news/riotgames/ko/news.json diff --git a/docs/en/riot-games/news.md b/docs/en/riot-games/news.md index a6dc435..f727cfb 100644 --- a/docs/en/riot-games/news.md +++ b/docs/en/riot-games/news.md @@ -5,12 +5,11 @@ The service generates files that contains the news from official Riot Games webs ## File URL The files url looks like ``` -https://rito-news.iamantosik.me/riotgames/{locale}/news.{extension} +https://data.rito.news/riotgames/{locale}/news.{extension} ``` ### Available locales - English (NA) - (`en`) -- Indonesian - (`id`) - Malaysian - (`ms`) - Português - (`pt-br`) - Čeština - (`cs`) @@ -39,5 +38,5 @@ https://rito-news.iamantosik.me/riotgames/{locale}/news.{extension} - Raw data (`.json`) ### Examples -- RSS for news in english locale - https://rito-news.iamantosik.me/riotgames/en/news.rss -- Raw news data in korean - https://rito-news.iamantosik.me/riotgames/ko/news.json +- RSS for news in english locale - https://data.rito.news/riotgames/en/news.rss +- Raw news data in korean - https://data.rito.news/riotgames/ko/news.json diff --git a/docs/en/teamfight-tactics/news.md b/docs/en/teamfight-tactics/news.md index b679293..c17adda 100644 --- a/docs/en/teamfight-tactics/news.md +++ b/docs/en/teamfight-tactics/news.md @@ -5,7 +5,7 @@ The service generates files that contains the news from official Teamfight Tacti ## File URL The file url should be formed like ``` -https://rito-news.iamantosik.me/tft/{locale}/news.{extension} +https://data.rito.news/tft/{locale}/news.{extension} ``` ### Available locales @@ -40,5 +40,5 @@ https://rito-news.iamantosik.me/tft/{locale}/news.{extension} - Raw data (`.json`) ### Examples -- RSS with italian locale - https://rito-news.iamantosik.me/tft/it-it/news.rss -- Raw news data with korean locale - https://rito-news.iamantosik.me/tft/ko-kr/news.json +- RSS with italian locale - https://data.rito.news/tft/it-it/news.rss +- Raw news data with korean locale - https://data.rito.news/tft/ko-kr/news.json diff --git a/docs/en/valorant/esports.md b/docs/en/valorant/esports.md index 13ec07a..5a8534f 100644 --- a/docs/en/valorant/esports.md +++ b/docs/en/valorant/esports.md @@ -5,7 +5,7 @@ The service generates files that contains the esports news from official VALORAN ## File URL The file url should be formed like ``` -https://rito-news.iamantosik.me/val/{locale}/esports.{extension} +https://data.rito.news/val/{locale}/esports.{extension} ``` ### Available locales @@ -37,5 +37,5 @@ https://rito-news.iamantosik.me/val/{locale}/esports.{extension} - Raw data (`.json`) ### Examples -- RSS with italian locale - https://rito-news.iamantosik.me/val/it-it/esports.rss -- Raw news data with korean locale - https://rito-news.iamantosik.me/val/ko-kr/esports.json +- RSS with italian locale - https://data.rito.news/val/it-it/esports.rss +- Raw news data with korean locale - https://data.rito.news/val/ko-kr/esports.json diff --git a/docs/en/valorant/news.md b/docs/en/valorant/news.md index fddd55c..d40c741 100644 --- a/docs/en/valorant/news.md +++ b/docs/en/valorant/news.md @@ -5,7 +5,7 @@ The service generates files that contains the news from official VALORANT websit ## File URL The file url should be formed like ``` -https://rito-news.iamantosik.me/val/{locale}/news.{extension} +https://data.rito.news/val/{locale}/news.{extension} ``` ### Available locales @@ -35,5 +35,5 @@ https://rito-news.iamantosik.me/val/{locale}/news.{extension} - Raw data (`.json`) ### Examples -- RSS with italian locale - https://rito-news.iamantosik.me/val/it-it/news.rss -- Raw news data with korean locale - https://rito-news.iamantosik.me/val/ko-kr/news.json +- RSS with italian locale - https://data.rito.news/val/it-it/news.rss +- Raw news data with korean locale - https://data.rito.news/val/ko-kr/news.json diff --git a/docs/en/valorant/server-status.md b/docs/en/valorant/server-status.md index c65a6fd..3d0a5db 100644 --- a/docs/en/valorant/server-status.md +++ b/docs/en/valorant/server-status.md @@ -5,7 +5,7 @@ The service generates files that contains theserver status message from VALORANT ## File URL The file url should be formed like ``` -https://rito-news.iamantosik.me/val/{locale}/status.{server}.{extension} +https://data.rito.news/val/{locale}/status.{server}.{extension} ``` ### Available servers @@ -44,5 +44,5 @@ https://rito-news.iamantosik.me/val/{locale}/status.{server}.{extension} - Raw data (`.json`) ### Examples -- RSS for north america server status messages with english locale - https://rito-news.iamantosik.me/val/en-us/status.na.rss -- Raw server status data for europe server with italian locale - https://rito-news.iamantosik.me/val/it-it/status.eu.json +- RSS for north america server status messages with english locale - https://data.rito.news/val/en-us/status.na.rss +- Raw server status data for europe server with italian locale - https://data.rito.news/val/it-it/status.eu.json diff --git a/docs/en/wild-rift/esports.md b/docs/en/wild-rift/esports.md index 85c5a5b..55e0158 100644 --- a/docs/en/wild-rift/esports.md +++ b/docs/en/wild-rift/esports.md @@ -5,7 +5,7 @@ The service generates files that contains the esports news from official Wild Ri ## File URL The file url should be formed like ``` -https://rito-news.iamantosik.me/wr/{locale}/esports.{extension} +https://data.rito.news/wr/{locale}/esports.{extension} ``` ### Available locales @@ -40,5 +40,5 @@ https://rito-news.iamantosik.me/wr/{locale}/esports.{extension} - Raw data (`.json`) ### Examples -- RSS with italian locale - https://rito-news.iamantosik.me/wr/it-it/esports.rss -- Raw news data with korean locale - https://rito-news.iamantosik.me/wr/ko-kr/esports.json +- RSS with italian locale - https://data.rito.news/wr/it-it/esports.rss +- Raw news data with korean locale - https://data.rito.news/wr/ko-kr/esports.json diff --git a/docs/en/wild-rift/news.md b/docs/en/wild-rift/news.md index c44315c..3f3e8cc 100644 --- a/docs/en/wild-rift/news.md +++ b/docs/en/wild-rift/news.md @@ -5,7 +5,7 @@ The service generates files that contains the news from official Wild Rift websi ## File URL The file url should be formed like ``` -https://rito-news.iamantosik.me/wr/{locale}/news.{extension} +https://data.rito.news/wr/{locale}/news.{extension} ``` ### Available locales @@ -37,5 +37,5 @@ https://rito-news.iamantosik.me/wr/{locale}/news.{extension} - Raw data (`.json`) ### Examples -- RSS with italian locale - https://rito-news.iamantosik.me/wr/it-it/news.rss -- Raw news data with korean locale - https://rito-news.iamantosik.me/wr/ko-kr/news.json +- RSS with italian locale - https://data.rito.news/wr/it-it/news.rss +- Raw news data with korean locale - https://data.rito.news/wr/ko-kr/news.json diff --git a/docs/en/wild-rift/server-status.md b/docs/en/wild-rift/server-status.md index 8fc0615..3dda38c 100644 --- a/docs/en/wild-rift/server-status.md +++ b/docs/en/wild-rift/server-status.md @@ -5,7 +5,7 @@ The service generates files that contains theserver status message from Wild Rif ## File URL The file url should be formed like ``` -https://rito-news.iamantosik.me/wr/{locale}/status.{server}.{extension} +https://data.rito.news/wr/{locale}/status.{server}.{extension} ``` ### Available servers @@ -47,5 +47,5 @@ https://rito-news.iamantosik.me/wr/{locale}/status.{server}.{extension} - Raw data (`.json`) ### Examples -- RSS for north america server status messages with english locale - https://rito-news.iamantosik.me/wr/en-us/status.na.rss -- Raw server status data for europe server with italian locale - https://rito-news.iamantosik.me/wr/it-it/status.eu.json +- RSS for north america server status messages with english locale - https://data.rito.news/wr/en-us/status.na.rss +- Raw server status data for europe server with italian locale - https://data.rito.news/wr/it-it/status.eu.json diff --git a/go.mod b/go.mod index 96aaecd..e57867f 100644 --- a/go.mod +++ b/go.mod @@ -1,42 +1,45 @@ require ( - github.com/Antosik/rito-news v0.0.0-20230709133801-7b5fe61460fa - github.com/aws/aws-lambda-go v1.41.0 - github.com/aws/aws-sdk-go-v2 v1.18.1 - github.com/aws/aws-sdk-go-v2/config v1.18.27 - github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.71 - github.com/aws/aws-sdk-go-v2/service/s3 v1.36.0 + github.com/Antosik/rito-news v0.0.0-20240531100356-d5a28632df37 + github.com/aws/aws-lambda-go v1.47.0 + github.com/aws/aws-sdk-go-v2 v1.27.0 + github.com/aws/aws-sdk-go-v2/config v1.27.16 + github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.16.21 + github.com/aws/aws-sdk-go-v2/service/s3 v1.54.3 ) require ( - github.com/PuerkitoBio/goquery v1.8.1 // indirect + github.com/PuerkitoBio/goquery v1.9.2 // indirect github.com/andybalholm/cascadia v1.3.2 // indirect - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.13.26 // indirect - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.4 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.34 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.28 // indirect - github.com/aws/aws-sdk-go-v2/internal/ini v1.3.35 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.26 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.29 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.28 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.3 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.12.12 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.12 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.19.2 // indirect - github.com/aws/smithy-go v1.13.5 // indirect - github.com/go-rod/rod v0.113.4 // indirect + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.16 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.3 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.7 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.7 // indirect + github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect + github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.7 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.9 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.9 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.7 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.20.9 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.24.3 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.28.10 // indirect + github.com/aws/smithy-go v1.20.2 // indirect + github.com/go-rod/rod v0.116.0 // indirect + github.com/google/uuid v1.6.0 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect - github.com/ysmood/fetchup v0.2.3 // indirect + github.com/ysmood/fetchup v0.2.4 // indirect github.com/ysmood/goob v0.4.0 // indirect - github.com/ysmood/got v0.34.2 // indirect + github.com/ysmood/got v0.39.5 // indirect github.com/ysmood/gson v0.7.3 // indirect github.com/ysmood/leakless v0.8.0 // indirect - golang.org/x/net v0.12.0 // indirect + golang.org/x/net v0.25.0 // indirect ) replace gopkg.in/yaml.v2 => gopkg.in/yaml.v2 v2.2.8 module github.com/Antosik/rito-news-feeds -go 1.18 +go 1.21 + +toolchain go1.22.3 diff --git a/go.sum b/go.sum index 6d01c1d..0294178 100644 --- a/go.sum +++ b/go.sum @@ -1,56 +1,56 @@ -github.com/Antosik/rito-news v0.0.0-20230709133801-7b5fe61460fa h1:pc8qYsXXtPjSB55ylvaTfkLiqW+TY9/Tk9YLGibG7Io= -github.com/Antosik/rito-news v0.0.0-20230709133801-7b5fe61460fa/go.mod h1:M5XirQENEtLVc+Do128bfIoFWv7td/FgRquhHyINW2U= -github.com/PuerkitoBio/goquery v1.8.1 h1:uQxhNlArOIdbrH1tr0UXwdVFgDcZDrZVdcpygAcwmWM= -github.com/PuerkitoBio/goquery v1.8.1/go.mod h1:Q8ICL1kNUJ2sXGoAhPGUdYDJvgQgHzJsnnd3H7Ho5jQ= -github.com/andybalholm/cascadia v1.3.1/go.mod h1:R4bJ1UQfqADjvDa4P6HZHLh/3OxWWEqc0Sk8XGwHqvA= +github.com/Antosik/rito-news v0.0.0-20240531100356-d5a28632df37 h1:cEGa9MeaaU4jjuYE9X20N+BCQVDVQsqts8E8zyS60Q4= +github.com/Antosik/rito-news v0.0.0-20240531100356-d5a28632df37/go.mod h1:qcn2oIZz0JJZwV/Kupxgawn9GuQ+S945ROLU/IfcFTo= +github.com/PuerkitoBio/goquery v1.9.2 h1:4/wZksC3KgkQw7SQgkKotmKljk0M6V8TUvA8Wb4yPeE= +github.com/PuerkitoBio/goquery v1.9.2/go.mod h1:GHPCaP0ODyyxqcNoFGYlAprUFH81NuRPd0GX3Zu2Mvk= github.com/andybalholm/cascadia v1.3.2 h1:3Xi6Dw5lHF15JtdcmAHD3i1+T8plmv7BQ/nsViSLyss= github.com/andybalholm/cascadia v1.3.2/go.mod h1:7gtRlve5FxPPgIgX36uWBX58OdBsSS6lUvCFb+h7KvU= -github.com/aws/aws-lambda-go v1.41.0 h1:l/5fyVb6Ud9uYd411xdHZzSf2n86TakxzpvIoz7l+3Y= -github.com/aws/aws-lambda-go v1.41.0/go.mod h1:jwFe2KmMsHmffA1X2R09hH6lFzJQxzI8qK17ewzbQMM= -github.com/aws/aws-sdk-go-v2 v1.18.1 h1:+tefE750oAb7ZQGzla6bLkOwfcQCEtC5y2RqoqCeqKo= -github.com/aws/aws-sdk-go-v2 v1.18.1/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw= -github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 h1:dK82zF6kkPeCo8J1e+tGx4JdvDIQzj7ygIoLg8WMuGs= -github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10/go.mod h1:VeTZetY5KRJLuD/7fkQXMU6Mw7H5m/KP2J5Iy9osMno= -github.com/aws/aws-sdk-go-v2/config v1.18.27 h1:Az9uLwmssTE6OGTpsFqOnaGpLnKDqNYOJzWuC6UAYzA= -github.com/aws/aws-sdk-go-v2/config v1.18.27/go.mod h1:0My+YgmkGxeqjXZb5BYme5pc4drjTnM+x1GJ3zv42Nw= -github.com/aws/aws-sdk-go-v2/credentials v1.13.26 h1:qmU+yhKmOCyujmuPY7tf5MxR/RKyZrOPO3V4DobiTUk= -github.com/aws/aws-sdk-go-v2/credentials v1.13.26/go.mod h1:GoXt2YC8jHUBbA4jr+W3JiemnIbkXOfxSXcisUsZ3os= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.4 h1:LxK/bitrAr4lnh9LnIS6i7zWbCOdMsfzKFBI6LUCS0I= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.4/go.mod h1:E1hLXN/BL2e6YizK1zFlYd8vsfi2GTjbjBazinMmeaM= -github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.71 h1:SAB1UAVaf6nGCu3zyIrV+VWsendXrms1GqtW4zBotKA= -github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.71/go.mod h1:ZNo5H4PR3/fwsXYqb+Ld5YAfvHcYCbltaTTtSay4l2o= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.34 h1:A5UqQEmPaCFpedKouS4v+dHCTUo2sKqhoKO9U5kxyWo= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.34/go.mod h1:wZpTEecJe0Btj3IYnDx/VlUzor9wm3fJHyvLpQF0VwY= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.28 h1:srIVS45eQuewqz6fKKu6ZGXaq6FuFg5NzgQBAM6g8Y4= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.28/go.mod h1:7VRpKQQedkfIEXb4k52I7swUnZP0wohVajJMRn3vsUw= -github.com/aws/aws-sdk-go-v2/internal/ini v1.3.35 h1:LWA+3kDM8ly001vJ1X1waCuLJdtTl48gwkPKWy9sosI= -github.com/aws/aws-sdk-go-v2/internal/ini v1.3.35/go.mod h1:0Eg1YjxE0Bhn56lx+SHJwCzhW+2JGtizsrx+lCqrfm0= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.26 h1:wscW+pnn3J1OYnanMnza5ZVYXLX4cKk5rAvUAl4Qu+c= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.26/go.mod h1:MtYiox5gvyB+OyP0Mr0Sm/yzbEAIPL9eijj/ouHAPw0= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 h1:y2+VQzC6Zh2ojtV2LoC0MNwHWc6qXv/j2vrQtlftkdA= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11/go.mod h1:iV4q2hsqtNECrfmlXyord9u4zyuFEJX9eLgLpSPzWA8= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.29 h1:zZSLP3v3riMOP14H7b4XP0uyfREDQOYv2cqIrvTXDNQ= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.29/go.mod h1:z7EjRjVwZ6pWcWdI2H64dKttvzaP99jRIj5hphW0M5U= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.28 h1:bkRyG4a929RCnpVSTvLM2j/T4ls015ZhhYApbmYs15s= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.28/go.mod h1:jj7znCIg05jXlaGBlFMGP8+7UN3VtCkRBG2spnmRQkU= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.3 h1:dBL3StFxHtpBzJJ/mNEsjXVgfO+7jR0dAIEwLqMapEA= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.3/go.mod h1:f1QyiAsvIv4B49DmCqrhlXqyaR+0IxMmyX+1P+AnzOM= -github.com/aws/aws-sdk-go-v2/service/s3 v1.36.0 h1:lEmQ1XSD9qLk+NZXbgvLJI/IiTz7OIR2TYUTFH25EI4= -github.com/aws/aws-sdk-go-v2/service/s3 v1.36.0/go.mod h1:aVbf0sko/TsLWHx30c/uVu7c62+0EAJ3vbxaJga0xCw= -github.com/aws/aws-sdk-go-v2/service/sso v1.12.12 h1:nneMBM2p79PGWBQovYO/6Xnc2ryRMw3InnDJq1FHkSY= -github.com/aws/aws-sdk-go-v2/service/sso v1.12.12/go.mod h1:HuCOxYsF21eKrerARYO6HapNeh9GBNq7fius2AcwodY= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.12 h1:2qTR7IFk7/0IN/adSFhYu9Xthr0zVFTgBrmPldILn80= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.12/go.mod h1:E4VrHCPzmVB/KFXtqBGKb3c8zpbNBgKe3fisDNLAW5w= -github.com/aws/aws-sdk-go-v2/service/sts v1.19.2 h1:XFJ2Z6sNUUcAz9poj+245DMkrHE4h2j5I9/xD50RHfE= -github.com/aws/aws-sdk-go-v2/service/sts v1.19.2/go.mod h1:dp0yLPsLBOi++WTxzCjA/oZqi6NPIhoR+uF7GeMU9eg= -github.com/aws/smithy-go v1.13.5 h1:hgz0X/DX0dGqTYpGALqXJoRKRj5oQ7150i5FdTePzO8= -github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/aws-lambda-go v1.47.0 h1:0H8s0vumYx/YKs4sE7YM0ktwL2eWse+kfopsRI1sXVI= +github.com/aws/aws-lambda-go v1.47.0/go.mod h1:dpMpZgvWx5vuQJfBt0zqBha60q7Dd7RfgJv23DymV8A= +github.com/aws/aws-sdk-go-v2 v1.27.0 h1:7bZWKoXhzI+mMR/HjdMx8ZCC5+6fY0lS5tr0bbgiLlo= +github.com/aws/aws-sdk-go-v2 v1.27.0/go.mod h1:ffIFB97e2yNsv4aTSGkqtHnppsIJzw7G7BReUZ3jCXM= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 h1:x6xsQXGSmW6frevwDA+vi/wqhp1ct18mVXYN08/93to= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2/go.mod h1:lPprDr1e6cJdyYeGXnRaJoP4Md+cDBvi2eOj00BlGmg= +github.com/aws/aws-sdk-go-v2/config v1.27.16 h1:knpCuH7laFVGYTNd99Ns5t+8PuRjDn4HnnZK48csipM= +github.com/aws/aws-sdk-go-v2/config v1.27.16/go.mod h1:vutqgRhDUktwSge3hrC3nkuirzkJ4E/mLj5GvI0BQas= +github.com/aws/aws-sdk-go-v2/credentials v1.17.16 h1:7d2QxY83uYl0l58ceyiSpxg9bSbStqBC6BeEeHEchwo= +github.com/aws/aws-sdk-go-v2/credentials v1.17.16/go.mod h1:Ae6li/6Yc6eMzysRL2BXlPYvnrLLBg3D11/AmOjw50k= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.3 h1:dQLK4TjtnlRGb0czOht2CevZ5l6RSyRWAnKeGd7VAFE= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.3/go.mod h1:TL79f2P6+8Q7dTsILpiVST+AL9lkF6PPGI167Ny0Cjw= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.16.21 h1:1v8Ii0MRVGYB/sdhkbxrtolCA7Tp+lGh+5OJTs5vmZ8= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.16.21/go.mod h1:cxdd1rc8yxCjKz28hi30XN1jDXr2DxZvD44vLxTz/bg= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.7 h1:lf/8VTF2cM+N4SLzaYJERKEWAXq8MOMpZfU6wEPWsPk= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.7/go.mod h1:4SjkU7QiqK2M9oozyMzfZ/23LmUY+h3oFqhdeP5OMiI= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.7 h1:4OYVp0705xu8yjdyoWix0r9wPIRXnIzzOoUpQVHIJ/g= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.7/go.mod h1:vd7ESTEvI76T2Na050gODNmNU7+OyKrIKroYTu4ABiI= +github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 h1:hT8rVHwugYE2lEfdFE0QWVo81lF7jMrYJVDWI+f+VxU= +github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0/go.mod h1:8tu/lYfQfFe6IGnaOdrpVgEL2IrrDOf6/m9RQum4NkY= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.7 h1:/FUtT3xsoHO3cfh+I/kCbcMCN98QZRsiFet/V8QkWSs= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.7/go.mod h1:MaCAgWpGooQoCWZnMur97rGn5dp350w2+CeiV5406wE= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2 h1:Ji0DY1xUsUr3I8cHps0G+XM3WWU16lP6yG8qu1GAZAs= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2/go.mod h1:5CsjAbs3NlGQyZNFACh+zztPDI7fU6eW9QsxjfnuBKg= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.9 h1:UXqEWQI0n+q0QixzU0yUUQBZXRd5037qdInTIHFTl98= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.9/go.mod h1:xP6Gq6fzGZT8w/ZN+XvGMZ2RU1LeEs7b2yUP5DN8NY4= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.9 h1:Wx0rlZoEJR7JwlSZcHnEa7CNjrSIyVxMFWGAaXy4fJY= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.9/go.mod h1:aVMHdE0aHO3v+f/iw01fmXV/5DbfQ3Bi9nN7nd9bE9Y= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.7 h1:uO5XR6QGBcmPyo2gxofYJLFkcVQ4izOoGDNenlZhTEk= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.7/go.mod h1:feeeAYfAcwTReM6vbwjEyDmiGho+YgBhaFULuXDW8kc= +github.com/aws/aws-sdk-go-v2/service/s3 v1.54.3 h1:57NtjG+WLims0TxIQbjTqebZUKDM03DfM11ANAekW0s= +github.com/aws/aws-sdk-go-v2/service/s3 v1.54.3/go.mod h1:739CllldowZiPPsDFcJHNF4FXrVxaSGVnZ9Ez9Iz9hc= +github.com/aws/aws-sdk-go-v2/service/sso v1.20.9 h1:aD7AGQhvPuAxlSUfo0CWU7s6FpkbyykMhGYMvlqTjVs= +github.com/aws/aws-sdk-go-v2/service/sso v1.20.9/go.mod h1:c1qtZUWtygI6ZdvKppzCSXsDOq5I4luJPZ0Ud3juFCA= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.24.3 h1:Pav5q3cA260Zqez42T9UhIlsd9QeypszRPwC9LdSSsQ= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.24.3/go.mod h1:9lmoVDVLz/yUZwLaQ676TK02fhCu4+PgRSmMaKR1ozk= +github.com/aws/aws-sdk-go-v2/service/sts v1.28.10 h1:69tpbPED7jKPyzMcrwSvhWcJ9bPnZsZs18NT40JwM0g= +github.com/aws/aws-sdk-go-v2/service/sts v1.28.10/go.mod h1:0Aqn1MnEuitqfsCNyKsdKLhDUOr4txD/g19EfiUqgws= +github.com/aws/smithy-go v1.20.2 h1:tbp628ireGtzcHDDmLT/6ADHidqnwgF57XOXZe6tp4Q= +github.com/aws/smithy-go v1.20.2/go.mod h1:krry+ya/rV9RDcV/Q16kpu6ypI4K2czasz0NC3qS14E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/go-rod/rod v0.113.4 h1:O5a/VTl1h6a08ecXkOF9oVJBi8fjBnF0FtyMSgd3KaY= -github.com/go-rod/rod v0.113.4/go.mod h1:aiedSEFg5DwG/fnNbUOTPMTTWX3MRj6vIs/a684Mthw= -github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= -github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/go-rod/rod v0.116.0 h1:ypRryjTys3EnqHskJ/TdgodFMvXV0EHvmy4bSkKZgHM= +github.com/go-rod/rod v0.116.0/go.mod h1:aiedSEFg5DwG/fnNbUOTPMTTWX3MRj6vIs/a684Mthw= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -59,15 +59,18 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s= -github.com/ysmood/fetchup v0.2.3 h1:ulX+SonA0Vma5zUFXtv52Kzip/xe7aj4vqT5AJwQ+ZQ= +github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/ysmood/fetchup v0.2.3/go.mod h1:xhibcRKziSvol0H1/pj33dnKrYyI2ebIvz5cOOkYGns= +github.com/ysmood/fetchup v0.2.4 h1:2kfWr/UrdiHg4KYRrxL2Jcrqx4DZYD+OtWu7WPBZl5o= +github.com/ysmood/fetchup v0.2.4/go.mod h1:hbysoq65PXL0NQeNzUczNYIKpwpkwFL4LXMDEvIQq9A= github.com/ysmood/goob v0.4.0 h1:HsxXhyLBeGzWXnqVKtmT9qM7EuVs/XOgkX7T6r1o1AQ= github.com/ysmood/goob v0.4.0/go.mod h1:u6yx7ZhS4Exf2MwciFr6nIM8knHQIE22lFpWHnfql18= -github.com/ysmood/gop v0.0.2 h1:VuWweTmXK+zedLqYufJdh3PlxDNBOfFHjIZlPT2T5nw= github.com/ysmood/gop v0.0.2/go.mod h1:rr5z2z27oGEbyB787hpEcx4ab8cCiPnKxn0SUHt6xzk= +github.com/ysmood/gop v0.2.0 h1:+tFrG0TWPxT6p9ZaZs+VY+opCvHU8/3Fk6BaNv6kqKg= +github.com/ysmood/gop v0.2.0/go.mod h1:rr5z2z27oGEbyB787hpEcx4ab8cCiPnKxn0SUHt6xzk= github.com/ysmood/got v0.34.1/go.mod h1:yddyjq/PmAf08RMLSwDjPyCvHvYed+WjHnQxpH851LM= -github.com/ysmood/got v0.34.2 h1:oN4DDWwpN5BdNPqYtOIW8a13CsAdzTOECTND7pQQ148= -github.com/ysmood/got v0.34.2/go.mod h1:yddyjq/PmAf08RMLSwDjPyCvHvYed+WjHnQxpH851LM= +github.com/ysmood/got v0.39.5 h1:RnwtdeON7UQMsXA/6US9VslYOmlD3uy4GykWxAlgsMs= +github.com/ysmood/got v0.39.5/go.mod h1:W7DdpuX6skL3NszLmAsC5hT7JAhuLZhByVzHTq874Qg= github.com/ysmood/gotrace v0.6.0 h1:SyI1d4jclswLhg7SWTL6os3L1WOKeNn/ZtzVQF8QmdY= github.com/ysmood/gotrace v0.6.0/go.mod h1:TzhIG7nHDry5//eYZDYcTzuJLYQIkykJzCRIo4/dzQM= github.com/ysmood/gson v0.7.3 h1:QFkWbTH8MxyUTKPkVWAENJhxqdBa4lYTQWqZCiLG6kE= @@ -81,19 +84,16 @@ golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91 golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210916014120-12bc252f5db8/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= -golang.org/x/net v0.12.0 h1:cfawfvKITfUsFCeJIHJrbSxpeu/E81khclypR0GVT50= -golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= +golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -105,7 +105,6 @@ golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= @@ -118,3 +117,4 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/riotgames/news/data.json b/riotgames/news/data.json index 1ad8deb..75777f5 100644 --- a/riotgames/news/data.json +++ b/riotgames/news/data.json @@ -3,10 +3,6 @@ "locale": "en", "title": "News | Riot Games" }, - { - "locale": "id", - "title": "Berita | Riot Games" - }, { "locale": "ms", "title": "Berita | Riot Games" diff --git a/templates/cdn.template.yaml b/templates/cdn.template.yaml index 3e90808..fe97a13 100644 --- a/templates/cdn.template.yaml +++ b/templates/cdn.template.yaml @@ -66,7 +66,7 @@ Resources: Type: AWS::CloudFront::CachePolicy Properties: CachePolicyConfig: - Name: RitoNewsFeedsCachePolicy + Name: !Sub 'RitoNewsFeedsCachePolicy-${Stage}' MinTTL: 1 DefaultTTL: 600 MaxTTL: 900 diff --git a/templates/sam.template.yaml b/templates/sam.template.yaml index e534b5e..fb3591b 100644 --- a/templates/sam.template.yaml +++ b/templates/sam.template.yaml @@ -101,7 +101,7 @@ Resources: Metadata: BuildMethod: makefile Properties: - Runtime: provided.al2 + Runtime: provided.al2023 Architectures: - arm64 FunctionName: !Sub @@ -126,7 +126,7 @@ Resources: Metadata: BuildMethod: makefile Properties: - Runtime: provided.al2 + Runtime: provided.al2023 Architectures: - arm64 FunctionName: !Sub @@ -161,6 +161,7 @@ Resources: Handler: lolesports Role: !GetAtt RitoNewsLambdaRole.Arn Timeout: 600 + MemorySize: 624 Layers: - !Ref ChromiumLayer Events: @@ -181,7 +182,7 @@ Resources: Metadata: BuildMethod: makefile Properties: - Runtime: provided.al2 + Runtime: provided.al2023 Architectures: - arm64 FunctionName: !Sub @@ -206,7 +207,7 @@ Resources: Metadata: BuildMethod: makefile Properties: - Runtime: provided.al2 + Runtime: provided.al2023 Architectures: - arm64 FunctionName: !Sub @@ -262,7 +263,7 @@ Resources: Metadata: BuildMethod: makefile Properties: - Runtime: provided.al2 + Runtime: provided.al2023 Architectures: - arm64 FunctionName: !Sub @@ -287,19 +288,15 @@ Resources: Metadata: BuildMethod: makefile Properties: - Runtime: go1.x + Runtime: provided.al2023 Architectures: - - x86_64 + - arm64 FunctionName: !Sub - 'rito-news-lor-news-${Stage}' - Stage: !Ref Stage CodeUri: ../ - Handler: lornews + Handler: bootstrap Role: !GetAtt RitoNewsLambdaRole.Arn - Timeout: 600 - MemorySize: 624 - Layers: - - !Ref ChromiumLayer Events: Schedule: Type: Schedule @@ -318,7 +315,7 @@ Resources: Metadata: BuildMethod: makefile Properties: - Runtime: provided.al2 + Runtime: provided.al2023 Architectures: - arm64 FunctionName: !Sub @@ -345,7 +342,7 @@ Resources: Metadata: BuildMethod: makefile Properties: - Runtime: provided.al2 + Runtime: provided.al2023 Architectures: - arm64 FunctionName: !Sub @@ -370,7 +367,7 @@ Resources: Metadata: BuildMethod: makefile Properties: - Runtime: provided.al2 + Runtime: provided.al2023 Architectures: - arm64 FunctionName: !Sub @@ -405,6 +402,7 @@ Resources: Handler: wresports Role: !GetAtt RitoNewsLambdaRole.Arn Timeout: 600 + MemorySize: 624 Layers: - !Ref ChromiumLayer Events: @@ -425,7 +423,7 @@ Resources: Metadata: BuildMethod: makefile Properties: - Runtime: provided.al2 + Runtime: provided.al2023 Architectures: - arm64 FunctionName: !Sub @@ -450,7 +448,7 @@ Resources: Metadata: BuildMethod: makefile Properties: - Runtime: provided.al2 + Runtime: provided.al2023 Architectures: - arm64 FunctionName: !Sub