esearchy 0.2.2 → 0.2.2.1
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.
- data/lib/esearchy/SocialEngines/linkedin.rb +1 -1
- metadata +6 -7
|
@@ -24,7 +24,7 @@ module ESearchy
|
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
def crawl_people(text)
|
|
27
|
-
text.scan(/<a href="([0-9A-Za-z:\\\/?&=@+%.;"'()_-]+)" class=l[\sonmousedown="return clk(this.href,'','','res','\d','')"]*>([\w\s]*)
|
|
27
|
+
text.scan(/<a href="([0-9A-Za-z:\\\/?&=@+%.;"'()_-]+)" class=l[\sonmousedown="return clk(this.href,'','','res','\d','')"]*>([\w\s]*) \|/).each do |profile|
|
|
28
28
|
pf = profile[0].to_s
|
|
29
29
|
pf = pf.scan(/\/url\?q=([0-9A-Za-z:\\\/?=@+%.;"'()_-]+)&/).to_s if pf.match(/\/url\?q=/)
|
|
30
30
|
p = profile[1].split(" ")
|
metadata
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: esearchy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 85
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
9
|
- 2
|
|
10
|
-
|
|
10
|
+
- 1
|
|
11
|
+
version: 0.2.2.1
|
|
11
12
|
platform: ruby
|
|
12
13
|
authors:
|
|
13
14
|
- Matias P. Brutti
|
|
@@ -15,8 +16,7 @@ autorequire:
|
|
|
15
16
|
bindir: bin
|
|
16
17
|
cert_chain: []
|
|
17
18
|
|
|
18
|
-
date: 2011-04-
|
|
19
|
-
default_executable:
|
|
19
|
+
date: 2011-04-07 00:00:00 Z
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
22
22
|
name: pdf-reader
|
|
@@ -140,7 +140,6 @@ files:
|
|
|
140
140
|
- lib/esearchy.rb
|
|
141
141
|
- README.rdoc
|
|
142
142
|
- bin/esearchy
|
|
143
|
-
has_rdoc: true
|
|
144
143
|
homepage: http://freedomcoder.com.ar/esearchy
|
|
145
144
|
licenses: []
|
|
146
145
|
|
|
@@ -170,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
170
169
|
requirements: []
|
|
171
170
|
|
|
172
171
|
rubyforge_project:
|
|
173
|
-
rubygems_version: 1.
|
|
172
|
+
rubygems_version: 1.7.2
|
|
174
173
|
signing_key:
|
|
175
174
|
specification_version: 3
|
|
176
175
|
summary: A library to search for emails in search engines
|