Fixed Python2 support on Atresplayer.

This commit is contained in:
Nekmo 2018-06-13 00:12:31 +02:00
parent 11ba372e37
commit e9986ce0f3

View File

@ -1,7 +1,11 @@
from __future__ import unicode_literals
import json
from urllib.error import HTTPError
try:
from urllib.error import HTTPError
except ImportError:
from urllib2 import HTTPError
from .common import InfoExtractor
from ..utils import (