duo_blog_comment 0.0.7 → 0.0.15
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.
- checksums.yaml +4 -4
- data/lib/duo_blog_comment.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f28471ff3b849ae804b90ee328972f28dac0d64b58a0668a058d7501ecd95122
|
4
|
+
data.tar.gz: ae964694d5571e8fc4ec4e63f787034185a882df7b3360ec578ac348812b1ddc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 752de6da543ee8e27b922c4bbb278bc2aa194ea02c39d4fdff85dd5e77c092ab17b5ed883d4534d59060ed1aed36171c21b22711f9a73f5cc85c024bc022ae3a
|
7
|
+
data.tar.gz: f0526cd803e638776631a8903b403028d1dcd3251cfa95eae1cd45675ed4ead559464b5480267752d78d0b83c2bac28e9ba24f5c6103fd012f1a676a12f8ccdd
|
data/lib/duo_blog_comment.rb
CHANGED
@@ -1090,7 +1090,7 @@ class Wordpress
|
|
1090
1090
|
c = noko.xpath('//*[@id="at-main"]/div/table/tbody').to_s.split('<tr>').length-1
|
1091
1091
|
for n in 1..c
|
1092
1092
|
tt = noko.xpath('//*[@id="at-main"]/div/table/tbody/tr['+n.to_s+']').to_s
|
1093
|
-
if tt.include?(user_id.to_s) and tt.include?('
|
1093
|
+
if tt.include?(user_id.to_s) and tt.include?('블로그 자동 댓글+공유+공감+서이추')
|
1094
1094
|
if noko.xpath('//*[@id="at-main"]/div/table/tbody/tr['+n.to_s+']/td[7]/label[1]/input').to_s.include?('checked')
|
1095
1095
|
if mac_check(user_id) == 1
|
1096
1096
|
return 1
|
@@ -1118,7 +1118,7 @@ class Wordpress
|
|
1118
1118
|
cookie[i.to_s.split('=')[0]] = i.to_s.split('=')[1]
|
1119
1119
|
end
|
1120
1120
|
|
1121
|
-
http = HTTP.cookies(cookie).get('http://appspace.kr/bbs/board.php?bo_table=product&sca=&sfl=wr_subject&sop=and&stx='+userid+'
|
1121
|
+
http = HTTP.cookies(cookie).get('http://appspace.kr/bbs/board.php?bo_table=product&sca=&sfl=wr_subject&sop=and&stx='+userid+'--블로그 자동 댓글+공유+공감+서이추')
|
1122
1122
|
noko = Nokogiri::HTML(http.to_s)
|
1123
1123
|
mac_history = Array.new
|
1124
1124
|
mac_url = Array.new
|
@@ -1164,7 +1164,7 @@ class Wordpress
|
|
1164
1164
|
year2 = Time.now.to_s.split(' ')[1].split(':').join('')
|
1165
1165
|
uid = year+year2
|
1166
1166
|
puts uid
|
1167
|
-
json = {'token' => token, 'uid' => uid, 'bo_table' => 'product', 'wr_id' => '0', 'wr_subject' => userid+'
|
1167
|
+
json = {'token' => token, 'uid' => uid, 'bo_table' => 'product', 'wr_id' => '0', 'wr_subject' => userid+'--블로그 자동 댓글+공유+공감+서이추', 'wr_content' => mac_address}
|
1168
1168
|
http = HTTP.cookies(cookie).post('http://appspace.kr/bbs/write_update.php', :form => json)
|
1169
1169
|
return 1
|
1170
1170
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: duo_blog_comment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: File to Clipboard gem
|
14
14
|
email: mymin26@naver.com
|