Skip to content
Snippets Groups Projects
Commit db3b4b96 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 8f2bf524
No related branches found
No related tags found
1 merge request!1455ytdl: switch over to yt_dlp
Pipeline #193334 passed with stages
in 26 minutes and 11 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