1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

[linkedin:learning] add support for subtitle

fix import error in Python 2.X
This commit is contained in:
Frank Wang 2019-04-26 09:40:32 +08:00
parent 4284081fda
commit 4157ae7d5c

View File

@ -2,7 +2,12 @@
from __future__ import unicode_literals
import re
try:
from itertools import zip_longest
except ImportError:
from itertools import izip_longest as zip_longest
from .common import InfoExtractor
from ..utils import (