Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data-mining-logs: extract documents and messages #5

Merged
merged 3 commits into from
Aug 9, 2020
Merged

Conversation

ryukinix
Copy link
Member

@ryukinix ryukinix commented Aug 8, 2020

CHANGELOG:

  • contains a parser.py which transform the troll-shield.log correctly in json format
  • contains a extract.py which extract documents (video/image/audio) and messages from a specific chat

Can be used to act the bot as spyware, but is useful for debugging purposes and see who and which groups are interacting with the bot.

Get the meaningful events to monitor messages and put as:

    {
        '<log timestamp>': {json event update}
    }
@ryukinix
Copy link
Member Author

ryukinix commented Aug 8, 2020

Codecov Report

Merging #5 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master       #5   +/-   ##
=======================================
  Coverage   93.52%   93.52%           
=======================================
  Files           1        1           
  Lines         139      139           
=======================================
  Hits          130      130           
  Misses          9        9           
Flag Coverage Δ
#unittests 93.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7015110...ce09236. Read the comment docs.

@ryukinix ryukinix merged commit a5b8e84 into master Aug 9, 2020
@ryukinix ryukinix deleted the logparser branch August 9, 2020 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants