Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
vk2json
Advanced tools
Инструмент для конвертации html-файлов из [архива с выгруженными данными ВКонтакте](https://vk.com/data_protection?section=rules) в машиночитаемый JSON-формат.
Readme
Инструмент для конвертации html-файлов из архива с выгруженными данными ВКонтакте в машиночитаемый JSON-формат.
Может быть полезно для анализа диалогов (и т.п.) без запросов к API.
Перед использованием необходимо извлечь содержимое архива.
$ yarn global add vk2json
$ vk2json /path/to/dir
# Использование без глобальной установки:
$ npx vk2json /path/to/dir
--output, -o
Папка, в которую будут записаны JSON - файлы (по умолчанию - в папке с html будет создана папка json
)
--select-peers
Массив peer_id, сообщения которых будут парситься (по умолчанию - все диалоги)
--select
Массив типов данных, которые будут конвертированы из html в json (по умолчанию все возможные)
Список возможных парсеров лежит в папке parsers
либо в чеклисте выше
Пример: --select ads messages
Выгрузка сообщений с пользователем 152199439:
$ vk2json /path/to/dir --select messages --select-peers 152199439
Processing directory "messages"
Parsed 1 conversations
Wrote 1 files to /path/to/dir/json
FAQs
Инструмент для конвертации html-файлов из [архива с выгруженными данными ВКонтакте](https://vk.com/data_protection?section=rules) в машиночитаемый JSON-формат.
The npm package vk2json receives a total of 1 weekly downloads. As such, vk2json popularity was classified as not popular.
We found that vk2json demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.