dmm-crawler 0.4.1 → 0.4.2

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
  SHA1:
3
- metadata.gz: 420538d89be74c3016fecf2ff85e94591a7e9dc7
4
- data.tar.gz: 65c7222a380e8e416a93de5d3c5da8f6bd929025
3
+ metadata.gz: cd98ad054e0ae70bd7e69cdcb50ce9141cffa453
4
+ data.tar.gz: 570c7e883a8a98ecafa62c5829a6460eb4467335
5
5
  SHA512:
6
- metadata.gz: 18d05606f47667d372e0aa91279fcf538a8c70aaa9374f00cdf7765805353cb3163a655c87be0db8dad3ca9a2c73dc4fddb82f6efa01ebbec11cc34595a12607
7
- data.tar.gz: 1514d047db8cb7ae26c970b3a04fa95def82eb54c214026a9d51ced4f6d691838b08048ad7ea133aa2d21df04ca069382857a35e749005180b44f09d76d0ea35
6
+ metadata.gz: 781f1d4712d65bd3464f1ef219ff07f4ab712f5a0dff7abb38f83d6200b167e8d17a13984dd919e303c4d656f7b9c5881f7065efe6055b9bd2c3cdf174209c9e
7
+ data.tar.gz: f253a7f63daf213dd1c73cd53e9519e2f7406fdd5b23404884c838def6ffe021d799a2dd1b15051589b77c0f8736f0af0457534f71cc7b7ec8b923d9a51be10d
@@ -1,5 +1,8 @@
1
1
  # Change logs
2
2
 
3
+ ## 0.4.2
4
+ - Fix a bug where adult game's tags wrong to be fetched.
5
+
3
6
  ## 0.4.1
4
7
  - Fix a bug where nil is not accepted in `File.join`.
5
8
 
@@ -41,16 +41,12 @@ module DMMCrawler
41
41
  end
42
42
 
43
43
  def tags
44
- item['iteminfo']['genre'].map { |h| h['name'] }
44
+ @page.search('.area-bskt tbody tr')[4].search('td a').map { |elm| elm.text.strip }
45
45
  end
46
46
 
47
47
  def content_id
48
48
  @page.uri.to_s.match(/views_\d*/)
49
49
  end
50
-
51
- def item
52
- @item ||= @r_client.list_items(site: 'DMM.R18', content_id: content_id).body['result']['items'][0]
53
- end
54
50
  end
55
51
  end
56
52
  end
@@ -1,3 +1,3 @@
1
1
  module DMMCrawler
2
- VERSION = '0.4.1'.freeze
2
+ VERSION = '0.4.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dmm-crawler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Satoshi Ohmori
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-16 00:00:00.000000000 Z
11
+ date: 2018-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdmm