Skip to content
Snippets Groups Projects
Commit a9517b97 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

ytdl: switch over to yt_dlp

YoutubeDL is pretty much dead.
Fixes #26206.
parent 35ec60b5
No related branches found
No related tags found
No related merge requests found
Pipeline #192820 passed with stage
in 55 minutes and 22 seconds
......@@ -19,7 +19,7 @@
import sys
import json
import urllib.parse
import youtube_dl
import yt_dlp
class logger(object):
def debug(self, msg):
......@@ -38,7 +38,7 @@ def url_extract(url):
'youtube_include_dash_manifest': False,
}
dl = youtube_dl.YoutubeDL(opts)
dl = yt_dlp.YoutubeDL(opts)
# Process a given URL
infos = dl.extract_info(url, download=False)
......@@ -58,7 +58,7 @@ def url_process(ie_url):
'youtube_include_dash_manifest': False,
}
dl = youtube_dl.YoutubeDL(opts)
dl = yt_dlp.YoutubeDL(opts)
# Rebuild the original IE entry
entry = { }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment