1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2025-01-08 14:17:54 +01:00

need to clean title in live version

This commit is contained in:
PC 2015-10-10 22:22:00 +01:00
parent 45531a6e3e
commit 82a80e813a

View File

@ -149,7 +149,9 @@ class IOLStreamIE(IOLIE):
def _real_extract(self, url):
ret = IOLIE._real_extract(self, url)
# can't find uncluttered title information for live
title = re.sub(r'\s*\|\s*TVI Player\s*$', '', ret['title'], re.IGNORECASE)
ret['is_live'] = True
ret['title'] = self._live_title(ret['title'])
ret['title'] = self._live_title(title)
return ret