title cleaning.
This commit is contained in:
parent
c6736ba1bb
commit
0fb8abe1a0
@ -112,6 +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')
|
||||
sessions.append((sess_id, user, title, sess_key))
|
||||
else:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user