Socket
Book a DemoInstallSign in
Socket

video_chat_get

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

video_chat_get

0.3.6.10
bundlerRubygems
Version published
Maintainers
1
Created
Source

VideoChatGet

This is a ruby ​​package that gets a list of chats from the broadcasts of video distribution sites.

Support sites

site_namestatus
mildom
niconico
openrec
twitcasting
twitch
whowatch
youtubelive

Installation

Add this line to your application's Gemfile:

gem 'video_chat_get'

And then execute:

$ bundle

Or install it yourself as:

$ gem install video_chat_get

Usage

CLI

use CLI:

$ videochatget videourl

In code

require 'video_chat_get'

#mildom
obj=Mildom_analyze.new(url)
video_info=obj.videoinfo
chat_list=obj.chat_scrape()

#openrec
obj=Openrec_analyze.new(url)
video_info=obj.videoinfo
chat_list=obj.chat_scrape()

#twitcasting
obj=Twitcasting_analyze.new(url)
video_info=obj.videoinfo
chat_list=obj.chat_scrape()

#whowatch
obj=Whowatch_analyze.new(url)
video_info=obj.videoinfo
chat_list=obj.chat_scrape()

#youtubelive
obj=Youtubelive_analyze.new(url)
video_info=obj.videoinfo
chat_list=obj.chat_scrape()

Document

Basically use instance method

↓ Example of use

obj=Youtubelive_analyze.new(url)
video_info=obj.videoinfo
chat_list=obj.chat_scrape()

instance variable

@videoinfo

・Returns: hash
   We can acquire broadcast frame information.

instance method

#chat_scrape(log_flag=true,log_path="./videoid.txt")

Parameters:
   ・log_flag:boolean (default=true)
    Whether to write chat list to file, write when true.

   ・log_path:string (default="./videoid.txt")
    File path to write chat list.

Returns:
   ・chat_list:array
    Chat data list. Chat information is stored as dictionary data,
    and this dictionary data exists for the number of chats.

    chat_list=[hash,hash,...]

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/tf0101/VideoChatGet. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the VideoChatGet project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

FAQs

Package last updated on 14 Aug 2024

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.