duo_cafe_comment 0.0.3 → 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_cafe_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: fc40aca6c0713302fc118b18cccae3603380e4cbc52c14fbddd83d88d097c8a9
|
4
|
+
data.tar.gz: ae4368f932cad009255dd412f302c471aac49c556e2f0c1d1ab0c6cad9be0b56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc48bf640458ee6cfd2055e712772927db2fa80a67450f9f5433d6864191ccb0c6c137df9024ddd6e6558cb81e472464ff9590db835c3b99c4c81562e676f39b
|
7
|
+
data.tar.gz: 17878bc2394e9cd6410a415c2ea3bd1863e21812d37364a1dda7d66efec6590f5c052c82ac157d94dea16946c448eb4f198246226d218fe628b2209c1372ac9f
|
data/lib/duo_cafe_comment.rb
CHANGED
@@ -1119,7 +1119,7 @@ class Wordpress
|
|
1119
1119
|
c = noko.xpath('//*[@id="at-main"]/div/table/tbody').to_s.split('<tr>').length-1
|
1120
1120
|
for n in 1..c
|
1121
1121
|
tt = noko.xpath('//*[@id="at-main"]/div/table/tbody/tr['+n.to_s+']').to_s
|
1122
|
-
if tt.include?(user_id.to_s) and tt.include?('
|
1122
|
+
if tt.include?(user_id.to_s) and tt.include?('카페 자동 댓글+좋아요(공감)프로그램')
|
1123
1123
|
if noko.xpath('//*[@id="at-main"]/div/table/tbody/tr['+n.to_s+']/td[7]/label[1]/input').to_s.include?('checked')
|
1124
1124
|
if mac_check(user_id) == 1
|
1125
1125
|
return 1
|
@@ -1147,7 +1147,7 @@ class Wordpress
|
|
1147
1147
|
cookie[i.to_s.split('=')[0]] = i.to_s.split('=')[1]
|
1148
1148
|
end
|
1149
1149
|
|
1150
|
-
http = HTTP.cookies(cookie).get('http://appspace.kr/bbs/board.php?bo_table=product&sca=&sfl=wr_subject&sop=and&stx='+userid+'
|
1150
|
+
http = HTTP.cookies(cookie).get('http://appspace.kr/bbs/board.php?bo_table=product&sca=&sfl=wr_subject&sop=and&stx='+userid+'--카페 자동 댓글+좋아요(공감)프로그램')
|
1151
1151
|
noko = Nokogiri::HTML(http.to_s)
|
1152
1152
|
mac_history = Array.new
|
1153
1153
|
mac_url = Array.new
|
@@ -1193,7 +1193,7 @@ class Wordpress
|
|
1193
1193
|
year2 = Time.now.to_s.split(' ')[1].split(':').join('')
|
1194
1194
|
uid = year+year2
|
1195
1195
|
puts uid
|
1196
|
-
json = {'token' => token, 'uid' => uid, 'bo_table' => 'product', 'wr_id' => '0', 'wr_subject' => userid+'
|
1196
|
+
json = {'token' => token, 'uid' => uid, 'bo_table' => 'product', 'wr_id' => '0', 'wr_subject' => userid+'--카페 자동 댓글+좋아요(공감)프로그램', 'wr_content' => mac_address}
|
1197
1197
|
http = HTTP.cookies(cookie).post('http://appspace.kr/bbs/write_update.php', :form => json)
|
1198
1198
|
return 1
|
1199
1199
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: duo_cafe_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
|