[makotv] Add support for Python 3

This commit is contained in:
relrelb 2018-04-20 21:39:51 +03:00
parent 2fcb14bf64
commit ed6f000f32

View File

@ -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):