diff options
| author | remitamine <remitamine@gmail.com> | 2015-12-04 08:44:18 +0100 | 
|---|---|---|
| committer | remitamine <remitamine@gmail.com> | 2015-12-04 08:44:18 +0100 | 
| commit | 7079f8ff1fe524a5711957a426066b94a22a605e (patch) | |
| tree | 40a14f5eb5cafa8cc9151c51c99394290061b42b | |
| parent | 2c3b9f35703def516e455448666af0b4c5b31ec9 (diff) | |
[adobetv] use compat_str
| -rw-r--r-- | youtube_dl/extractor/adobetv.py | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/adobetv.py b/youtube_dl/extractor/adobetv.py index d65826932..8753ee2cf 100644 --- a/youtube_dl/extractor/adobetv.py +++ b/youtube_dl/extractor/adobetv.py @@ -3,6 +3,7 @@ from __future__ import unicode_literals  import re  from .common import InfoExtractor +from ..compat import compat_str  from ..utils import (      parse_duration,      unified_strdate, @@ -55,7 +56,7 @@ class AdobeTVIE(AdobeTVBaseIE):          self._sort_formats(formats)          return { -            'id': str(video_data['id']), +            'id': compat_str(video_data['id']),              'title': video_data['title'],              'description': video_data.get('description'),              'thumbnail': video_data.get('thumbnail'), @@ -105,7 +106,7 @@ class AdobeTVShowIE(AdobeTVPlaylistBaseIE):          return self.playlist_result(              self._extract_playlist_entries(self._API_BASE_URL + 'episode/?%s' % query, show_urlname), -            str(show_data['id']), +            compat_str(show_data['id']),              show_data['show_name'],              show_data['show_description'])  | 
