我有一个抽搐视频的纯文本聊天日志,是否可以将此文件转换为json格式?

问题描述

因此,我从一些旧的已删除抽搐视频和t he chat logs from the same vod on an archive website中找到了档案。 github上有很多工具可以使用json文件呈现聊天记录,但是我的日志为纯文本格式。我找不到仅使用文本格式的方法。有谁知道是否有可能以某种方式将纯文本转换为json,以便呈现聊天内容?谢谢,如果有聪明的人能弄清楚这一点,我将非常感激。

以下是数据示例:

[2018-12-23 00:02:26] #forsen snusbot: Get a free channel subscription token & in-game loot every month with Twitch Prime forsenPrime : https://twitch.amazon.com/prime
[2018-12-23 00:03:56] #forsen blowmymnd: $rl blowmymnd
[2018-12-23 00:03:58] #forsen xzaniity: TriHard
[2018-12-23 00:03:59] #forsen supibot: blowmymnd,(1d,6h ago) <blowmymnd>: NaM CO BANDAI 
[2018-12-23 00:04:05] #forsen blowmymnd: NaM
[2018-12-23 00:04:58] #forsen matisaurusrex2003chile: hey bajs you know about the animal jam raid forsenScoots
[2018-12-23 00:05:05] #forsen snusbot: Fricolor got gifted a resub by DoggWon,that's 2 months in a row PogChamp
[2018-12-23 00:05:24] #forsen xzaniity: TriHard
[2018-12-23 00:05:28] #forsen blowmymnd: $rl blowmymnd
[2018-12-23 00:05:31] #forsen supibot: blowmymnd,(76d,2h ago) <blowmymnd>: ppHop
[2018-12-23 00:05:37] #forsen blowmymnd: !rq
[2018-12-23 00:05:38] #forsen sosil_: blowmymnd: KKool Clap
[2018-12-23 00:05:46] #forsen snusbot: xZaniity,thank you so much for your 12 months of unbroken support to the Snus Brotherhood! forsenDDK forsenWhip
[2018-12-23 00:05:57] #forsen xzaniity: Pepega
[2018-12-23 00:06:06] #forsen surfaa: forsenFeels
[2018-12-23 00:06:21] #forsen xzaniity: Why even resub when he is oflnie PepeHands
[2018-12-23 00:06:32] #forsen xzaniity: He cant even pronounce my name forsenKek
[2018-12-23 00:06:57] #forsen cenrus: AYAYA
[2018-12-23 00:07:00] #forsen akarres: 1 MIL BOYS
[2018-12-23 00:07:03] #forsen cenrus: AYAYA AYAYA
[2018-12-23 00:07:07] #forsen cenrus: AYAYA AYAYA AYAYA
[2018-12-23 00:07:08] #forsen xzaniity: One mil PagChomp
[2018-12-23 00:07:09] #forsen akarres: PogChamp
[2018-12-23 00:07:14] #forsen cenrus: AYAYA AYAYA AYAYA AYAYA
[2018-12-23 00:07:18] #forsen cenrus: AYAYA AYAYA AYAYA
[2018-12-23 00:07:21] #forsen cenrus: AYAYA AYAYA
[2018-12-23 00:07:23] #forsen cenrus: AYAYA
[2018-12-23 00:07:24] #forsen digitalfruitcakes: !roulette all
[2018-12-23 00:07:24] #forsen snusbot: digitalfruitcakes won 390 points in roulette and now has 780 points! forsenPls
[2018-12-23 00:07:36] #forsen xzaniity: !roulette 1
[2018-12-23 00:07:36] #forsen snusbot: xZaniity won 1 points in roulette and now has 16127 points! forsenPls
[2018-12-23 00:07:39] #forsen cenrus: AYAYA AYAYA
[2018-12-23 00:07:42] #forsen cenrus: AYAYA
[2018-12-23 00:07:45] #forsen cenrus: AYAYA AYAYA
[2018-12-23 00:07:46] #forsen cenrus: AYAYA AYAYA AYAYA
[2018-12-23 00:07:47] #forsen xzaniity: 16k after 12 months monkaOMEGA
[2018-12-23 00:07:49] #forsen lemonlime187: PedoBear Clap ANY PEDOS IN THE CHAT?
[2018-12-23 00:07:54] #forsen cenrus: AYAYA
[2018-12-23 00:07:56] #forsen cenrus: AYAYA AYAYA
[2018-12-23 00:07:56] #forsen xzaniity: thats it forsenK
[2018-12-23 00:07:57] #forsen cenrus: AYAYA AYAYA AYAYA
[2018-12-23 00:08:10] #forsen cenrus: AYAYA
[2018-12-23 00:08:12] #forsen cenrus: AYAYA AYAYA
[2018-12-23 00:08:14] #forsen cenrus: AYAYA AYAYA AYAYA
[2018-12-23 00:08:17] #forsen cenrus: AYAYA AYAYA AYAYA AYAYA
[2018-12-23 00:08:18] #forsen cenrus: AYAYA AYAYA AYAYA
[2018-12-23 00:08:19] #forsen lemonlime187: forsenFeels
[2018-12-23 00:08:20] #forsen cenrus has been timed out for 600 seconds
[2018-12-23 00:08:20] #forsen cenrus: AYAYA AYAYA
[2018-12-23 00:08:35] #forsen cenrus: AYAYA
[2018-12-23 00:08:36] #forsen blowmymnd: $rl blowmymnd
[2018-12-23 00:08:36] #forsen lemonlime187: forsenWeird
[2018-12-23 00:08:39] #forsen supibot: blowmymnd,(103d,0h ago) <blowmymnd>: we won ZULUL 
[2018-12-23 00:08:47] #forsen blowmymnd: ZULUL
[2018-12-23 00:09:50] #forsen haywoodjabroni: forsenE
[2018-12-23 00:11:01] #forsen tuntematon: !rq
[2018-12-23 00:11:01] #forsen sosil_: tuntematon: abom1 IceCold abom3 IceCold abom4 IceCold abom2 IceCold 

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...