remove single quotes from title
This commit is contained in:
blacktwin 2017-08-24 00:19:17 -04:00 committed by GitHub
parent 0fb8abe1a0
commit 1d9a65cc00

View File

@ -112,7 +112,7 @@ def find_sessionID(response):
user = video['User']['title']
sess_key = video['sessionKey']
title = (video['grandparentTitle'] + ' - ' if video['type'] == 'episode' else '') + video['title']
title = unicodedata.normalize('NFKD', title).encode('ascii','ignore')
title = unicodedata.normalize('NFKD', title).encode('ascii','ignore').translate(None,"'")
sessions.append((sess_id, user, title, sess_key))
else:
pass