1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-09 12:42:28 +01:00

Import FileDownloader in test_youtube_subtitles

Fix last commit
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-05-10 08:37:49 +02:00
parent 9259966132
commit 057c9938a1

View File

@ -12,6 +12,7 @@
from youtube_dl.InfoExtractors import YoutubeIE from youtube_dl.InfoExtractors import YoutubeIE
from youtube_dl.utils import * from youtube_dl.utils import *
from youtube_dl import FileDownloader
PARAMETERS_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "parameters.json") PARAMETERS_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "parameters.json")
with io.open(PARAMETERS_FILE, encoding='utf-8') as pf: with io.open(PARAMETERS_FILE, encoding='utf-8') as pf: