funky 0.2.33 → 0.2.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a452b0b7365491be6624bef197bb981283082079879e0507287ea4067eb4e53
4
- data.tar.gz: '018d68f064909a03d3a52f3969a706c73642d9493769e215dffcdd026ab9603b'
3
+ metadata.gz: 5f5830bfe11cfc37703ba016ba069a5b006bc708cc3c720ad66cc2213567ebf8
4
+ data.tar.gz: 947951106b4a4db2c5bf288daeca139dfe3564400ee9869d1141153e9a35ae16
5
5
  SHA512:
6
- metadata.gz: 8ba314e08abbe0f0ea6fc05d559f53cc4397132c7fa2ef88d7c2852a9eb71df75fba2f3adeb8ff8af380891df79cd6af641bffa5cc4449b5ca2ad8282bba3157
7
- data.tar.gz: d1adc0d6e003fa91a9fe84c89d3c96e85a5868227bb6c2a776ada317dd8aa5ea2f7e0a48339fee44e64252ca969a0e3aafc167f674a8df90f50e733f74672bea
6
+ metadata.gz: dd1790214eb8a18cf2643a9e77cc6f048e448b1ecca38f30db993c201bb326b8424b67d1da0fad5f76160da8180d033ba510dc36fdf08ec1b136f9cec2114d5e
7
+ data.tar.gz: 0a8ba8cd79110a54bf4dcd4142cb3951ec19752dcd332c98dc0cc3ca103c4ff1d6dfa1498d74e526d3367b3b38066652eb482f82977a46941c974069d15ed102
@@ -6,6 +6,10 @@ For more information about changelogs, check
6
6
  [Keep a Changelog](http://keepachangelog.com) and
7
7
  [Vandamme](http://tech-angels.github.io/vandamme).
8
8
 
9
+ ## 0.2.34 - 2018/10/19
10
+
11
+ * [BUGFIX] Fetch the comment count, with more Facebook videos.
12
+
9
13
  ## 0.2.33 - 2018/10/03
10
14
 
11
15
  * [FEATURE] Add ActiveSupport::Notification based instrumentation.
@@ -35,6 +35,7 @@ module Funky
35
35
  def extract_comments_from(html, video_id)
36
36
  html.match /"commentcount":(.*?),/
37
37
  html.match(/commentcount:(\d+),commentcountreduced/) if $1.nil?
38
+ html.match /commentcount:(\d+),commentTotalCount/ if $1.nil?
38
39
  html.match /commentcount:(\d+),.*commentstargetfbid:"#{video_id}"/ if $1.nil?
39
40
  matched_count $1
40
41
  end
@@ -1,3 +1,3 @@
1
1
  module Funky
2
- VERSION = "0.2.33"
2
+ VERSION = "0.2.34"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: funky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.33
4
+ version: 0.2.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-04 00:00:00.000000000 Z
11
+ date: 2018-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler