This commit is contained in:
Star Brilliant 2015-01-28 22:12:07 +08:00
commit 28befe8160

View File

@ -79,6 +79,10 @@ def ProbeCommentFormat(f):
elif tmp == 'xml version="1.0" encoding="Utf-8"?>\n<': elif tmp == 'xml version="1.0" encoding="Utf-8"?>\n<':
return 'Bilibili' # Komica, with the same file format as Bilibili return 'Bilibili' # Komica, with the same file format as Bilibili
elif tmp == 'xml version="1.0" encoding="UTF-8"?>\n<': elif tmp == 'xml version="1.0" encoding="UTF-8"?>\n<':
tmp = f.read(20)
if tmp == '!-- BoonSutazioData=':
return 'Niconico' # Niconico videos downloaded with NicoFox
else:
return 'MioMio' return 'MioMio'
elif tmp == 'p': elif tmp == 'p':
return 'Niconico' # Himawari Douga, with the same file format as Niconico Douga return 'Niconico' # Himawari Douga, with the same file format as Niconico Douga