Compare commits
9 Commits
0c21a854d2
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ef217f9dd | |||
|
373348a336
|
|||
|
db488e06ab
|
|||
|
e124ea31de
|
|||
|
2f47bbd848
|
|||
| 709ccddf82 | |||
|
37dfa7c208
|
|||
| 8eb6bf3abc | |||
|
d98e96b4e2
|
@@ -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 }}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
discord.py==2.6.4
|
discord.py==2.6.4
|
||||||
python-dotenv==1.1.1
|
python-dotenv==1.2.1
|
||||||
yt-dlp==2025.10.22
|
yt-dlp==2025.11.12
|
||||||
@@ -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 = []
|
||||||
|
|||||||
Reference in New Issue
Block a user