🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

vkopt-message-parser

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons

vkopt-message-parser

unpublished
Source
crates.io
Version
0.3.0
Version published
Maintainers
1
Created
Source

VkOpt Message Parser

Tested on Rust 1.39.

CLI Example

Extracting texts from users id1 and id2 from a chat dump:

cargo run --release --example cli -- -o messages.txt --only-include-names=id1,id2 -- messages.html

To see all available options, run:

cargo run --release --example cli -- --help

API Example

See examples/cli.rs.

Changelog

0.3.0

Added new events for reading message attachments:

  • AttachmentExtracted { kind, url, vk_obj, description } — raised after extracting a generic attachment
  • WallPartExtracted — raised after extracting the text of the wall post from the preceding AttachmentExtracted event (if kind == Wall)
  • RawAttachmentPartExtracted — raised after extracting the body of an attachment encoded in JSON, e.g. a poll.

0.2.0

  • Forwarded messages are now correctly parsed
  • The current nesting level is reported for each message: this can be used to reconstruct forwarded message chains or skip forwarded messages altogether
  • Minor performance improvements

0.1.0

Initial release

FAQs

Package last updated on 11 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts