Fixed Python2 support on Atresplayer.
This commit is contained in:
parent
11ba372e37
commit
e9986ce0f3
@ -1,7 +1,11 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import json
|
import json
|
||||||
from urllib.error import HTTPError
|
|
||||||
|
try:
|
||||||
|
from urllib.error import HTTPError
|
||||||
|
except ImportError:
|
||||||
|
from urllib2 import HTTPError
|
||||||
|
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
from ..utils import (
|
from ..utils import (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user