RubyGems
npm
Organizations
Log in
Sign up
RubyGems
oald_parser
Versions diffs
0.1.7 → 0.1.8
oald_parser 0.1.7 → 0.1.8
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/oald_parser/page_downloader.rb
+1
-1
metadata
+2
-2
data/lib/oald_parser/page_downloader.rb
CHANGED
Viewed
@@ -9,7 +9,7 @@ module OaldParser
9
9
10
10
def download(word)
11
11
url = URI.parse(@url)
12
-
Net::HTTP.
post
(url, "search_word=#{word}")
12
+
Net::HTTP.
post_form
(url, "search_word=#{word}")
13
13
rescue Exception => e
14
14
puts e.inspect
15
15
nil
metadata
CHANGED
Viewed
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
segments:
6
6
- 0
7
7
- 1
8
-
-
7
9
-
version: 0.1.
7
8
+
-
8
9
+
version: 0.1.
8
10
10
platform: ruby
11
11
authors:
12
12
- Victor Savkin