video_chat_get 0.3.6.8 → 0.3.6.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/site_list/youtubelive_analyze.rb +5 -3
- data/lib/video_chat_get/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e8b7b496420ff0e0f7759bc0e890bc401c07d221a5bb9eeb6224dcf9f0c7412
|
4
|
+
data.tar.gz: 3722c24c88213aa92c1a93137191228fc441dc2815207c406a9000008e0f2740
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8438b737d033dc41d9b9940608e674c0eef47a56b7bf2d1bb3e612ad40fcc2a5bf8b2527edf06daa657357dbc48ee52ce23b238340d0204facf237f76092a019
|
7
|
+
data.tar.gz: 4955e2f45237d9deff2f7ca509f1094bc78bae74421dda9250350a49e5d205ae5f53d655b6db5aefd6798bf2870c8ceff934889dbfc37a67ddedfa8aeae1f150
|
data/Gemfile.lock
CHANGED
@@ -104,11 +104,13 @@ class Youtubelive_analyze<Video_analyze
|
|
104
104
|
|
105
105
|
|
106
106
|
|
107
|
-
def chat_scrape(log_flag=true,log_path=@chatlog_filepath)
|
107
|
+
def chat_scrape(log_flag=true,log_path=@chatlog_filepath,progressbar=true)
|
108
108
|
|
109
109
|
chat_list=[]
|
110
110
|
chat_count=0
|
111
|
-
|
111
|
+
next_path = @videoinfo_body.dig("contents", "twoColumnWatchNextResults", "conversationBar", "liveChatRenderer", "continuations", 0, "reloadContinuationData", "continuation")
|
112
|
+
return chat_list if next_path.nil?
|
113
|
+
next_url=@CHAT_REQUEST_URL + next_path
|
112
114
|
|
113
115
|
while true do
|
114
116
|
begin
|
@@ -117,7 +119,7 @@ class Youtubelive_analyze<Video_analyze
|
|
117
119
|
chat_count+=1
|
118
120
|
chat_list.push chat
|
119
121
|
end
|
120
|
-
progressbar(chat_count,"chat_count_inf")
|
122
|
+
progressbar(chat_count,"chat_count_inf") if progressbar
|
121
123
|
|
122
124
|
next_url=@CHAT_REQUEST_URL + chat_body["continuationContents"]["liveChatContinuation"]["continuations"][0]["liveChatReplayContinuationData"]["continuation"]
|
123
125
|
sleep(1)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: video_chat_get
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.6.
|
4
|
+
version: 0.3.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tf0101
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|