Compare commits

...

21 Commits

Author SHA1 Message Date
1ef217f9dd Merge pull request 'chore(deps): update actions/checkout action to v6' (#26) from renovate/actions-checkout-6.x into master
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 20s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
Reviewed-on: #26
2025-11-21 18:46:07 +00:00
373348a336 chore(deps): update actions/checkout action to v6 2025-11-20 17:00:51 +00:00
db488e06ab fix syntax
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m58s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
2025-11-11 22:29:39 -05:00
e124ea31de aaaaaargh, _ instead of -
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m57s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
2025-11-11 22:21:49 -05:00
2f47bbd848 hotfix: specify ejs:github remote component
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m8s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
2025-11-11 22:11:43 -05:00
709ccddf82 Merge pull request 'chore(deps): update dependency yt-dlp to v2025.11.12' (#25) from renovate/yt-dlp-2025.x into master
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m0s
Build and Push Docker Image / deploy-on-green (push) Successful in 41s
Reviewed-on: #25
2025-11-12 02:48:11 +00:00
37dfa7c208 chore(deps): update dependency yt-dlp to v2025.11.12 2025-11-12 02:00:43 +00:00
8eb6bf3abc Merge pull request 'chore(deps): update dependency python-dotenv to v1.2.1' (#24) from renovate/python-dotenv-1.x into master
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m41s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
Reviewed-on: #24
2025-10-26 18:15:07 +00:00
d98e96b4e2 chore(deps): update dependency python-dotenv to v1.2.1 2025-10-26 16:00:35 +00:00
0c21a854d2 add Deno to image
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m39s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
2025-10-22 19:04:11 -04:00
0c1e715f98 Revert "use yt-dlp[default] to ensure Deno will be included"
Some checks failed
Build and Push Docker Image / deploy-on-green (push) Has been cancelled
Build and Push Docker Image / build-and-push (push) Has been cancelled
This reverts commit a3a74571b4.
2025-10-22 18:17:23 -04:00
a3a74571b4 use yt-dlp[default] to ensure Deno will be included
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 28s
Build and Push Docker Image / deploy-on-green (push) Has been skipped
2025-10-22 18:13:36 -04:00
d29c0453e4 Merge pull request 'chore(deps): update dependency yt-dlp to v2025.10.22' (#23) from renovate/yt-dlp-2025.x into master
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m34s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
Reviewed-on: #23
2025-10-22 21:33:07 +00:00
84f38f39e3 chore(deps): update dependency yt-dlp to v2025.10.22 2025-10-22 20:00:42 +00:00
c2c228d8de chore: sign deploy commits
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 16s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
2025-10-22 11:03:48 -04:00
cef71e1ba3 Merge pull request 'Update dependency yt-dlp to v2025.10.14' (#22) from renovate/yt-dlp-2025.x into master
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m37s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
Reviewed-on: #22
2025-10-15 02:16:05 +00:00
5ace6b5c91 Update dependency yt-dlp to v2025.10.14 2025-10-15 00:01:02 +00:00
7f1182f5c7 Merge pull request 'Update python Docker tag to v3.14.0' (#20) from renovate/python-3.x into master
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m58s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
Reviewed-on: #20
2025-10-09 12:48:51 +00:00
f81346b678 Merge pull request 'Update dependency discord.py to v2.6.4' (#21) from renovate/discord.py-2.x into master
Some checks failed
Build and Push Docker Image / deploy-on-green (push) Has been cancelled
Build and Push Docker Image / build-and-push (push) Has been cancelled
Reviewed-on: #21
2025-10-09 12:48:42 +00:00
8f0e9f8b96 Update dependency discord.py to v2.6.4 2025-10-08 22:00:47 +00:00
f52505ccb6 Update python Docker tag to v3.14.0 2025-10-08 14:00:44 +00:00
4 changed files with 15 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ jobs:
steps: steps:
# Checkout the repository code # Checkout the repository code
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v5 uses: actions/checkout@v6
- name: Set outputs - name: Set outputs
id: vars id: vars
@@ -55,7 +55,7 @@ jobs:
if: ${{ success() }} if: ${{ success() }}
steps: steps:
- name: Checkout target repository - name: Checkout target repository
uses: actions/checkout@v5 uses: actions/checkout@v6
with: with:
repository: infrastructure/core-apps repository: infrastructure/core-apps
token: ${{ secrets.ACTIONS_TOKEN }} token: ${{ secrets.ACTIONS_TOKEN }}
@@ -68,8 +68,13 @@ jobs:
- name: Commit changes - name: Commit changes
run: | run: |
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
git config --local user.email "actions@noreply.dubyatp.xyz" git config --local user.email "actions@noreply.dubyatp.xyz"
git config --local user.name "actions[bot]" git config --local user.name "actions[bot]"
git config --local user.signingkey ~/.ssh/id_ed25519
git config --local gpg.format ssh
git config --local commit.gpgsign true
git commit -a -m "yt-dlp-bot: deploy update to ${{ needs.build-and-push.outputs.sha_short }}" git commit -a -m "yt-dlp-bot: deploy update to ${{ needs.build-and-push.outputs.sha_short }}"
- name: Push changes - name: Push changes

View File

@@ -1,6 +1,6 @@
FROM python:3.13.7-alpine3.22 FROM python:3.14.0-alpine3.22
COPY ./app /app COPY ./app /app
WORKDIR /app WORKDIR /app
RUN apk add ffmpeg RUN apk add ffmpeg deno
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
CMD ["python", "/app/main.py"] CMD ["python", "/app/main.py"]

View File

@@ -1,3 +1,3 @@
discord.py==2.6.3 discord.py==2.6.4
python-dotenv==1.1.1 python-dotenv==1.2.1
yt-dlp==2025.9.26 yt-dlp==2025.11.12

View File

@@ -2,7 +2,9 @@ import yt_dlp
import asyncio import asyncio
def get_formats(url: str): def get_formats(url: str):
ydl = yt_dlp.YoutubeDL() ydl = yt_dlp.YoutubeDL(params={
'remote_components': ['ejs:github']
})
info = ydl.extract_info(url, download=False) info = ydl.extract_info(url, download=False)
video_options = [] video_options = []