socializer-scraper 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/socializer-scraper +3 -2
- data/lib/socializer/scraper/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2a0dffdfdc26a3fe5b797f05217b6740f774947
|
4
|
+
data.tar.gz: d6881c694359b22f9e4ff1680f3e5faccce4fc49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34e3032cc875c6b430fa9d62c381c39defb9cb3cd205008bcad530f3b42d4770bc8760434cde39cb0835a049dbec04db4a3e5485e0ce0237d2c023b343b4f7bc
|
7
|
+
data.tar.gz: 06614ecce98c80a31743c4f978145e4ac4a4d2fdcd7536103de06c36538c777cd8217b464351da285e1693d7735f0a30ed86e1b615e81f90c00468f841934525
|
data/bin/socializer-scraper
CHANGED
@@ -5,6 +5,7 @@ require 'yaml'
|
|
5
5
|
require 'thor'
|
6
6
|
require 'fileutils'
|
7
7
|
require 'socializer/scraper'
|
8
|
+
STDOUT.sync = true
|
8
9
|
|
9
10
|
class Socializer::Scraper::CLI < Thor
|
10
11
|
|
@@ -33,9 +34,9 @@ class Socializer::Scraper::CLI < Thor
|
|
33
34
|
|
34
35
|
if counter % 100 == 99
|
35
36
|
File.open(file, "w") { |f| f.puts list.to_yaml }
|
36
|
-
puts found
|
37
|
+
STDOUT.puts found
|
37
38
|
else
|
38
|
-
print found
|
39
|
+
STDOUT.print found
|
39
40
|
end
|
40
41
|
|
41
42
|
counter += 1
|