video_chat_get 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d24c89a7bc748d5a23de25fd58d03da8259827b1382c69015f803b4c425f8bf
4
- data.tar.gz: 85d8770b3c6c352ae8407eba30c93c6f5673f0562075eeb460cdb41f33a95ee5
3
+ metadata.gz: f742a50cefadcf590f21ab2246937d79f9329f0148cde5465e44d4709c2b764c
4
+ data.tar.gz: 5a60651594271a7bf352113d84669067e1b3430f32b2aac1ee263a5945c2b07f
5
5
  SHA512:
6
- metadata.gz: 49b7c0c2afec807bef23ed178bae2b279bd46b21e1ba5da06aeb66aa0a19878c5380b43e7d039119014ffa85974d3b7d2fcc9087c96cb59f3d3fa6e843fe521d
7
- data.tar.gz: 89e4b683ded3948d04adc959a60e29cc134913090c904eed91f6d54ff8031c5339dc13e87c49eae77fff61454a917f9607c99dc6534cf30d2c515718bfa1930f
6
+ metadata.gz: d734cae4cf271edfb9b92f5f66f05815a4543f7615f751f217e670b07aa748f76bfc6ca6a67b04dc571879f5fba445f65ba6a617fa13d8e923b5989388debb69
7
+ data.tar.gz: b1d81f6d0bfe9c2d24e158498833ee803f91750e48168adeef93f022c3c6ad7044f33522808954d5866f771cf78872b1aed0a82dd3a9e93daa614030e94ee28e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- video_chat_get (0.2.2)
4
+ video_chat_get (0.2.3)
5
5
  httpclient (~> 2.8.3)
6
6
  json (~> 2.3.0)
7
7
  nokogiri (~> 1.10.9)
@@ -39,13 +39,13 @@ class Twitcasting_analyze<Video_analyze
39
39
  videoinfo["user_name"]=@videoinfo_request_body.at_css(".tw-user-nav-name").text.strip
40
40
  videoinfo["video_title"]=@videoinfo_request_body.at_css(".tw-player-page__title-editor-value").text
41
41
  videoinfo["video_time"]=@videoinfo_request_body.at_css(".tw-player-duration-time").text.strip
42
- videoinfo["video_start_time"]=@videoinfo_request_body.at_css(".tw-player-meta__status_item > time")[:datetime]
42
+ videoinfo["video_start_time"]=@videoinfo_request_body.at_css(".tw-player-meta__status_item > time").attribute('datetime').text
43
43
 
44
44
  videoinfo_polymer=@videoinfo_request_body.css(".tw-player-meta__status").css(".tw-player-meta__status_item")
45
45
  i=0
46
46
  videoinfo_polymer.each do |fact|
47
47
  if i==1 then
48
- videoinfo["total_view"]=fact.text.strip.split(":",2)[1]
48
+ videoinfo["total_view"]=fact.attribute('aria-label').text.split(":",2)[1].strip
49
49
  return videoinfo
50
50
  end
51
51
  i+=1
@@ -1,3 +1,3 @@
1
1
  module VideoChatGet
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
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.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - tf0101
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-12 00:00:00.000000000 Z
11
+ date: 2022-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler