]> jfr.im git - yt-dlp.git/blobdiff - test/test_http.py
[youtube] Fix controversial videos when requested via API (#533)
[yt-dlp.git] / test / test_http.py
index 55c3c6183d7671cbe619dbb9a641b33a97b4a4aa..40df167e07969a4e0d93c3ae497ee725ebab1be0 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # coding: utf-8
 from __future__ import unicode_literals
 
@@ -9,8 +9,8 @@
 sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
 
 from test.helper import http_server_port
-from youtube_dlc import YoutubeDL
-from youtube_dlc.compat import compat_http_server, compat_urllib_request
+from yt_dlp import YoutubeDL
+from yt_dlp.compat import compat_http_server, compat_urllib_request
 import ssl
 import threading