Is there a way to access Skype IM logs?

旧时模样 提交于 2019-12-09 04:41:26

问题


I tried looking in C:\Users[name]\AppData\Roaming\Skype and I found a folder called "chatsync" with some mysterious folders with files ending in .dat. I'm almost certain that these are the chat logs but I don't know a way to properly open these files (notepad shows gibberish mixed with English words). I'm not trying to do sleuthing, just a project for my girlfriend.

So more importantly: how can I read Skype's .dat files properly?


回答1:


http://www.nirsoft.net/utils/skype_log_view.html




回答2:


There is a new, awesome app Skyperious; Skyperious can:

  • open local Skype SQLite databases and look at their contents:
  • search across all messages and contacts
  • browse, filter and export chat histories, see chat statistics
  • view any database table and and export their data
  • change, add or delete data in any table
  • execute direct SQL queries



回答3:


You can also install SQLite for windows. Messages are stored as a SQLite database (several tables exist in the db - the 'Messages' table holds chat messages).




回答4:


I know this is a fairly old thread, but I figured add some extra info,

I didn't really like the way the NirSoft Skype Log View is able to export the chat messages, so I kinda hacked together my own parser for it for fun - but I was slightly lazy to add it to any kind of source control mechanism, which might seem awkward, but that's okay.

http://www.mediafire.com/download/yp0r3r5c686ecrk/SkypeMessageParser.zip

I have included the JAR file and the source.

It takes the text file export of Skype Log View (created by the following command)

SkypeLogView.exe /SaveDirect /UseTimeRange 0 /logsfolder "C:\Users\username\AppData\Roaming\Skype\skypeusername" /stext "C:\Root\Downloads\skypelogview\log.txt"

which has the data format of this:

==================================================

Record Number     : 110

Action Type       : Chat Message

Action Time       : 2012.06.04. 22:31:08

End Time          : 

User Name         : l__i

Display Name      : N___L

Duration          : 

Chat Message      : messagegoeshere

ChatID            : #skypeid/$hashcode

Filename          : 

==================================================

And converts it into this:

[2012.06.04. 22:31:08] l_i (N___L): messagegoeshere

And it also takes the Chat ID and cuts the log up based on that into multiple files, so the chats don't end up mixing together.

For example,

  2012-06-05--l__i-z_n.txt (where the date is the date of the first message).

Usage:

java -jar SkypeMessageParser.jar [path of exported TXT file from SkypeLogViewer] [absolute path of output TXT file]

I hope someone finds this useful! :)

Note: the program expects a system date format of yyyy.MM.dd meaning it will crash if you have the format of dd/MM/yyyy.




回答5:


As far as I know there is no way to open those files except with a utility. I've always used this one to read them:

http://www.osiwanlan.de/skypr/



来源:https://stackoverflow.com/questions/2925080/is-there-a-way-to-access-skype-im-logs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!