[vlc-commits] [Git][videolan/vlc][master] ytdl: switch over to yt_dlp

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Tue Feb 22 20:23:17 UTC 2022



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
db3b4b96 by Rémi Denis-Courmont at 2022-02-22T18:39:28+00:00
ytdl: switch over to yt_dlp

YoutubeDL is pretty much dead.
Fixes #26206.

- - - - -


1 changed file:

- share/ytdl-extract.py


Changes:

=====================================
share/ytdl-extract.py
=====================================
@@ -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 = { }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/db3b4b964e55cae725d38de119ab5350813b9f9b

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/db3b4b964e55cae725d38de119ab5350813b9f9b
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list