kinopoisk_parser 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/kinopoisk_parser.gemspec +1 -1
- data/lib/kinopoisk/movie.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a512062e75b11a59968e53d182e4348e2065243e
|
4
|
+
data.tar.gz: 9a6e745858ac1ebaa2898bd5eee752ccfd2f106f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f85074b1cb0cd4273f06b1ce66748bf4c5c13d9ddacbfafbee37b1d250e7c085371192ccffe6e0ca65616b28b41e6a52c2cf8b4d817a3d83f449bdc369c1831
|
7
|
+
data.tar.gz: 526a04d09ee9e39a1828ea6dcde5cad3afbb4bbdcf5ab5c8e6b635d75f9bb8c5e0505d17a9b858eec93588a21b28e6cfc446b2a05a2c46869e4a423438057729
|
data/kinopoisk_parser.gemspec
CHANGED
data/lib/kinopoisk/movie.rb
CHANGED
@@ -185,7 +185,8 @@ module Kinopoisk
|
|
185
185
|
if location =~ /error\.kinopoisk\.ru|showcaptcha/
|
186
186
|
raise Denied, 'Request denied'
|
187
187
|
else
|
188
|
-
id_match
|
188
|
+
id_match = location.match(/\/(\d*)\/$/)
|
189
|
+
id_match[1] if id_match
|
189
190
|
end
|
190
191
|
end
|
191
192
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kinopoisk_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RavWar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|