mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 10:24:33 +01:00
[linkedin:learning] add support for subtitle
fix import error in Python 2.X
This commit is contained in:
parent
4284081fda
commit
4157ae7d5c
@ -2,7 +2,12 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import re
|
||||
from itertools import zip_longest
|
||||
|
||||
try:
|
||||
from itertools import zip_longest
|
||||
except ImportError:
|
||||
from itertools import izip_longest as zip_longest
|
||||
|
||||
|
||||
from .common import InfoExtractor
|
||||
from ..utils import (
|
||||
|
Loading…
Reference in New Issue
Block a user