Browse Source

[adobepass] Fix extraction on older python 2.6

master-ytdl-org
Sergey M․ 8 years ago
parent
commit
2d2132ac6e
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      youtube_dl/extractor/adobepass.py

+ 6
- 2
youtube_dl/extractor/adobepass.py View File

@ -6,7 +6,10 @@ import time
import xml.etree.ElementTree as etree
from .common import InfoExtractor
from ..compat import compat_urlparse
from ..compat import (
compat_kwargs,
compat_urlparse,
)
from ..utils import (
unescapeHTML,
urlencode_postdata,
@ -1317,7 +1320,8 @@ class AdobePassIE(InfoExtractor):
headers = kwargs.get('headers', {})
headers.update(self.geo_verification_headers())
kwargs['headers'] = headers
return super(AdobePassIE, self)._download_webpage_handle(*args, **kwargs)
return super(AdobePassIE, self)._download_webpage_handle(
*args, **compat_kwargs(kwargs))
@staticmethod
def _get_mvpd_resource(provider_id, title, guid, rating):


Loading…
Cancel
Save