aboutsummaryrefslogtreecommitdiffstats
path: root/devscripts/make_supportedsites.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-10-18 10:04:47 -0500
committerJesús <heckyel@hyperbola.info>2021-10-18 10:04:47 -0500
commitcabfc066cb929d5496d984a0fde895a059dc0648 (patch)
treecc0ab44a1c6113c6116fa15e809204f98cee1e73 /devscripts/make_supportedsites.py
parentd98d94032e3b45d4a1dc21404e2a520964aadedd (diff)
downloadhypervideo-pre-cabfc066cb929d5496d984a0fde895a059dc0648.tar.lz
hypervideo-pre-cabfc066cb929d5496d984a0fde895a059dc0648.tar.xz
hypervideo-pre-cabfc066cb929d5496d984a0fde895a059dc0648.zip
update from upstream
Diffstat (limited to 'devscripts/make_supportedsites.py')
-rw-r--r--devscripts/make_supportedsites.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/devscripts/make_supportedsites.py b/devscripts/make_supportedsites.py
index 764795bc5..17a34843f 100644
--- a/devscripts/make_supportedsites.py
+++ b/devscripts/make_supportedsites.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import unicode_literals
import io
@@ -7,10 +7,10 @@ import os
import sys
-# Import youtube_dl
+# Import yt_dlp
ROOT_DIR = os.path.join(os.path.dirname(__file__), '..')
sys.path.insert(0, ROOT_DIR)
-import youtube_dl
+import yt_dlp
def main():
@@ -33,7 +33,7 @@ def main():
ie_md += ' (Currently broken)'
yield ie_md
- ies = sorted(youtube_dl.gen_extractors(), key=lambda i: i.IE_NAME.lower())
+ ies = sorted(yt_dlp.gen_extractors(), key=lambda i: i.IE_NAME.lower())
out = '# Supported sites\n' + ''.join(
' - ' + md + '\n'
for md in gen_ies_md(ies))