soonje_3 3.0.1 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soonje_3.rb +11 -10
- 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: 35c7557f2da1b6016a888582f1294af505afb7cc97b27c9d4b86ea07fffa0c81
|
4
|
+
data.tar.gz: 7579973440987d4ea14f24324e9c6938c9e475ba9bec7d9d71382928602b6132
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 033d04bf6a009e12a3f8c8c5524a2bab73f2b31b37955e9e5eb7ff7ea704c570d60f4767af9485d6d6add619ad378d88322168cdb141cbcf2054e878d2b5ec95
|
7
|
+
data.tar.gz: 5617a0f52d498b9a73f46a2cc27662c367aab59355212f573255d2d6fafea601330b643d5751386e06f2428fb083887624888aabe0ed4aae1eac6ce037e1674b
|
data/lib/soonje_3.rb
CHANGED
@@ -568,7 +568,7 @@ class Wordpress
|
|
568
568
|
while true
|
569
569
|
check_success = 0
|
570
570
|
@data['table'].each_with_index do |table,index|
|
571
|
-
begin
|
571
|
+
# begin
|
572
572
|
# if black_users.include?(table[1].to_s)
|
573
573
|
# next
|
574
574
|
# end
|
@@ -1212,8 +1212,9 @@ class Wordpress
|
|
1212
1212
|
if @data['포스트설정']['프록시'].checked?
|
1213
1213
|
begin
|
1214
1214
|
proxy_ip = @data['포스트설정']['프록시리스트'].sample
|
1215
|
-
result_http = HTTP.via(proxy_ip.split(':')[0], proxy_ip.split(':')[1].to_i).cookies(@cookie).post(@url+'/
|
1216
|
-
rescue
|
1215
|
+
result_http = HTTP.via(proxy_ip.split(':')[0], proxy_ip.split(':')[1].to_i).cookies(@cookie).post(@url+'/new-post', :form => @data2)
|
1216
|
+
rescue => exception
|
1217
|
+
puts exception
|
1217
1218
|
puts proxy_ip.to_s+' proxy error 프록시 없이 업로드'
|
1218
1219
|
result_http = HTTP.cookies(@cookie).post(@url+'/new-post', :form => @data2)
|
1219
1220
|
end
|
@@ -1235,14 +1236,14 @@ class Wordpress
|
|
1235
1236
|
|
1236
1237
|
sleep(@data['table'][index][5].to_i)
|
1237
1238
|
end
|
1238
|
-
rescue => exception
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1239
|
+
# rescue => exception
|
1240
|
+
# puts exception
|
1241
|
+
# begin
|
1242
|
+
# @driver.close
|
1243
|
+
# rescue
|
1243
1244
|
|
1244
|
-
|
1245
|
-
end
|
1245
|
+
# end
|
1246
|
+
# end
|
1246
1247
|
end
|
1247
1248
|
|
1248
1249
|
if check_success == 0
|