mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-01-21 20:17:55 +01:00
[makotv] Add support for Python 3
This commit is contained in:
parent
2fcb14bf64
commit
ed6f000f32
@ -3,8 +3,11 @@ from __future__ import unicode_literals
|
||||
|
||||
from .common import InfoExtractor
|
||||
|
||||
from urllib import urlencode
|
||||
from urlparse import urlparse, urlunparse, urljoin
|
||||
try:
|
||||
from urllib import urlencode
|
||||
from urlparse import urlparse, urlunparse, urljoin
|
||||
except ImportError:
|
||||
from urllib.parse import urlencode, urlparse, urlunparse, urljoin
|
||||
|
||||
|
||||
class MakoTVIE(InfoExtractor):
|
||||
|
Loading…
Reference in New Issue
Block a user