video_chat_get 0.3.6.2 → 0.3.6.4
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 +11 -6
- 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: 83418b0f926605a344db6ae3e0aa39ba74ab018d25de882fa901ace16159f871
|
4
|
+
data.tar.gz: f6b069aac3bee63994e3f82ef0c3152122cf00064e39c5dac4999957d5d66ec1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52e74db9ecd2d52c6ae527a610d9eb2ed9efc21e678b658200bb0e2f70af331d7eaa653778a8225816601837f8d2311d92d4b854a51d68a6191320cc71ab63f3
|
7
|
+
data.tar.gz: c80d5d8599bdd73e229cc221ea1a935567193d4055b0ef53edc30e413aead5deb12f39b2ec2b5327bf3fe1273e42c4b84fcaa829cc78f7239539e03648944366
|
data/Gemfile.lock
CHANGED
@@ -50,13 +50,18 @@ class Youtubelive_analyze<Video_analyze
|
|
50
50
|
def videoinfo_extraction()
|
51
51
|
|
52
52
|
videoinfo={}
|
53
|
-
common_hash
|
53
|
+
common_hash = @videoinfo_body.dig("contents", "twoColumnWatchNextResults", "results" , "results", "contents")
|
54
|
+
if common_hash == nil then
|
55
|
+
return videoinfo
|
56
|
+
end
|
54
57
|
|
55
|
-
videoinfo["ch"]=common_hash
|
56
|
-
videoinfo["
|
57
|
-
videoinfo["
|
58
|
-
videoinfo["
|
59
|
-
videoinfo["
|
58
|
+
videoinfo["ch"]=common_hash.dig(1, "videoSecondaryInfoRenderer", "owner", "videoOwnerRenderer", "title", "runs", 0, "text")
|
59
|
+
videoinfo["chid"]=common_hash.dig(1, "videoSecondaryInfoRenderer", "owner", "videoOwnerRenderer", "title", "runs", 0, "navigationEndpoint", "browseEndpoint", "browseId")
|
60
|
+
videoinfo["title"]=common_hash.dig(0, "videoPrimaryInfoRenderer", "title", "runs", 0, "text")
|
61
|
+
videoinfo["starttime"]=common_hash.dig(0, "videoPrimaryInfoRenderer", "dateText", "simpleText")
|
62
|
+
videoinfo["endtime"]=common_hash.dig(0, "videoPrimaryInfoRenderer","relativeDateText","simpleText")
|
63
|
+
videoinfo["videocount"]=common_hash.dig(0, "videoPrimaryInfoRenderer", "viewCount", "videoViewCountRenderer", "viewCount", "simpleText")
|
64
|
+
videoinfo["good"]=common_hash.dig(0, "videoPrimaryInfoRenderer", "videoActions", "menuRenderer", "topLevelButtons", 0, "segmentedLikeDislikeButtonViewModel", "likeButtonViewModel", "likeButtonViewModel", "toggleButtonViewModel", "toggleButtonViewModel", "defaultButtonViewModel", "buttonViewModel", "title")
|
60
65
|
return videoinfo
|
61
66
|
end
|
62
67
|
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tf0101
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|