diff options
author | Remita Amine <remitamine@gmail.com> | 2016-08-30 10:46:48 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2016-08-30 10:46:48 +0100 |
commit | 3c77a54d5dfa1097d5e3a5eaa0c631b5b01e93ce (patch) | |
tree | f03dfbc9f2db50363add882d85fe9d6e9461b976 /youtube_dl/extractor/turner.py | |
parent | da30a20a4d8b0ece61c271a5d0f0c6de2817ef5f (diff) |
[turner] keep video id intact
Diffstat (limited to 'youtube_dl/extractor/turner.py')
-rw-r--r-- | youtube_dl/extractor/turner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/turner.py b/youtube_dl/extractor/turner.py index 64fdcc56e..b59dafda6 100644 --- a/youtube_dl/extractor/turner.py +++ b/youtube_dl/extractor/turner.py @@ -22,7 +22,7 @@ class TurnerBaseIE(InfoExtractor): def _extract_cvp_info(self, data_src, video_id, path_data={}): video_data = self._download_xml(data_src, video_id) - video_id = video_data.attrib['id'].split('/')[-1].split('.')[0] + video_id = video_data.attrib['id'] title = xpath_text(video_data, 'headline', fatal=True) # rtmp_src = xpath_text(video_data, 'akamai/src') # if rtmp_src: |