jobparser 0.13.11 → 0.13.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jobparser.rb +1 -1
- data/lib/jobparser/version.rb +1 -1
- metadata +1 -1
data/lib/jobparser.rb
CHANGED
@@ -34,7 +34,7 @@ module JobParser
|
|
34
34
|
res[:schema] ? ParseSchema.new(nil, url) : ParseHtml.new(nil, url)
|
35
35
|
else
|
36
36
|
begin
|
37
|
-
html = open(
|
37
|
+
html = open(URI.encode(url), :allow_redirections => :safe).read
|
38
38
|
if html.include?("http://schema.org/JobPosting")
|
39
39
|
ParseSchema.new(html, url)
|
40
40
|
else
|
data/lib/jobparser/version.rb
CHANGED