google-local-results-ai-parser 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google-local-results-ai-parser.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32115a821e2e34cb64ab9e0b28e7c5be3a5b0de03006617c429e094bddd3e38d
|
4
|
+
data.tar.gz: c298704a904a2867528bf4ff9827bf50fdbde288fcffd5d8076447d1817e400e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0782715755059bf87928160366f3bb6168f1b12fab37f9e66cee5cf46a22406d2a05d6fd19e7e17f3f0f0c8925a5cfcdead320f009ed4b58b7f7aff8829ef896'
|
7
|
+
data.tar.gz: c0b8d099c542dcc5e64219594db5f2fa3f9f634835e0f6c2b18818b067d341bee8666045afc9f4c2da889ee86637949d7572f3bd03493395f47d1f5e2de1d023
|
@@ -63,7 +63,7 @@ module GoogleLocalResultsAiParser
|
|
63
63
|
|
64
64
|
if final_results[label]
|
65
65
|
# Combine the text for same elements
|
66
|
-
final_results[label] = unsplit_text[/#{final_results[label]}
|
66
|
+
final_results[label] = unsplit_text[/#{final_results[label]}[.|\n]+#{value}/]
|
67
67
|
else
|
68
68
|
# Directly assign values
|
69
69
|
final_results[label] = value
|