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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/soonje_3.rb +11 -10
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3a12191947d37c2b5a07ab2b7af2e822e97f0239de3035413f67ef5299d880d
4
- data.tar.gz: cc6eb2c89e6a717238a6b50fb8347be34096ec85f1b289c20ab0362a591c092a
3
+ metadata.gz: 35c7557f2da1b6016a888582f1294af505afb7cc97b27c9d4b86ea07fffa0c81
4
+ data.tar.gz: 7579973440987d4ea14f24324e9c6938c9e475ba9bec7d9d71382928602b6132
5
5
  SHA512:
6
- metadata.gz: 6bb612ee1d911dd9851fd51e9f23b4388ae7f112c7be4ed5dee5b6c599b552028e44c90e1908f53f32d42f2b38a2eb6112a78bf425333d31465aee09b9ab2e28
7
- data.tar.gz: 48ec967d751be205ff90e5cd3fdd8af883af72390ddeb3b814ed580adabe04cf192157c53cac9895b05fcc57aaef2d18d83d1881c8b8fe537e4dca675f3cb118
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+'/wp-admin/post.php', :form => @data2)
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
- puts exception
1240
- begin
1241
- @driver.close
1242
- rescue
1239
+ # rescue => exception
1240
+ # puts exception
1241
+ # begin
1242
+ # @driver.close
1243
+ # rescue
1243
1244
 
1244
- end
1245
- end
1245
+ # end
1246
+ # end
1246
1247
  end
1247
1248
 
1248
1249
  if check_success == 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soonje_3
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - kwonsoonje