kinopoisk_parser 1.0.4 → 1.0.5
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 +8 -8
- data/README.md +4 -0
- data/kinopoisk_parser.gemspec +1 -1
- data/lib/kinopoisk/movie.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MzMzNmY4MzNiMWY5ODNmNDYyODUyMzJmZGYwODc3NDU0ZmNhZTI0Mg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZWVmN2YxZTU4NjQ5MmZjNGE1YmI3MDk2Y2FhZWY4MTcyMGI4ZTRmZQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MDU0NTBmNmEyZTY0MjNhZmI2YWExNTk3YjEwNDQ1OTI3YjNiYzQ0ODNlMDA3
|
|
10
|
+
MTkyM2IyZTNkOTYwNDJlZDViNmIxMDY0NjdlODY1NzA1OTZkNjhmNmIyNWNj
|
|
11
|
+
ZjQwZGNmN2IyNmVjYjdkMjJlZGMyNTM3YjUxMDEyNDBiZmM5MzY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
YzE0MjA5MzEyYWM3MmQ0MDdiOTZmMjU2MGMxOWZlYTQ0OTEzNTY3ZWMxZjg4
|
|
14
|
+
ZTZiNDA1OGJmNmFjMjYwZTE0OTdmNzFkY2Q2ODMxNDgyN2E4MTRiN2ZlOTE3
|
|
15
|
+
ZDViNTZhMWUwYmE3YmYxOWE5ZTJmMTViMTQ1OTIyN2ZkOGQ5YTk=
|
data/README.md
CHANGED
data/kinopoisk_parser.gemspec
CHANGED
data/lib/kinopoisk/movie.rb
CHANGED
|
@@ -169,7 +169,7 @@ module Kinopoisk
|
|
|
169
169
|
# Kinopoisk has defined first=yes param to redirect to first result
|
|
170
170
|
# Return its id from location header
|
|
171
171
|
def find_by_title(title)
|
|
172
|
-
url = SEARCH_URL+"#{title}&first=yes"
|
|
172
|
+
url = SEARCH_URL+"#{URI.escape(title)}&first=yes"
|
|
173
173
|
Kinopoisk.fetch(url).headers['Location'].to_s.match(/\/(\d*)\/$/)[1]
|
|
174
174
|
end
|
|
175
175
|
|
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: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- RavWar
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-04-
|
|
11
|
+
date: 2013-04-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|