Compare commits
5 Commits
709ccddf82
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ef217f9dd | |||
|
373348a336
|
|||
|
db488e06ab
|
|||
|
e124ea31de
|
|||
|
2f47bbd848
|
@@ -14,7 +14,7 @@ jobs:
|
||||
steps:
|
||||
# Checkout the repository code
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set outputs
|
||||
id: vars
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
if: ${{ success() }}
|
||||
steps:
|
||||
- name: Checkout target repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
repository: infrastructure/core-apps
|
||||
token: ${{ secrets.ACTIONS_TOKEN }}
|
||||
|
||||
@@ -2,7 +2,9 @@ import yt_dlp
|
||||
import asyncio
|
||||
|
||||
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)
|
||||
|
||||
video_options = []
|
||||
|
||||
Reference in New Issue
Block a user