logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: f9e6aa1dcfa5e5731f04b407ac00ef24009891a3
parent f83db9064b13bdf025b0710b5da00e91025403e9
Author: Remita Amine <remitamine@gmail.com>
Date:   Thu, 24 Dec 2020 13:33:12 +0100

[sonyliv] fix title for movies

Diffstat:

Myoutube_dl/extractor/sonyliv.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/sonyliv.py b/youtube_dl/extractor/sonyliv.py @@ -94,7 +94,7 @@ class SonyLIVIE(InfoExtractor): '1.6', 'IN/DETAIL/' + video_id, video_id)['containers'][0]['metadata'] title = metadata['title'] episode = metadata.get('episodeTitle') - if episode: + if episode and title != episode: title += ' - ' + episode return {