tg_send_duo 0.0.26 → 0.0.29
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/tg_send_duo.rb +23 -13
- 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: e85768613eaf896e18ee665ff778de7700f10182a0ebe35ae64b7b489e97b8f1
|
4
|
+
data.tar.gz: '03864f2431ac599a7e90055cf4e06fb34812ac314177ebbb161bb313ab233ef7'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94c3f4092e6dbaecf5d6050bbbfad30b90d8fd2fb38178dce85a2d69d64dc7ab488321a158fb13213d3b893be3dad2538b20db8af3ed788bc8555f879f9132b9
|
7
|
+
data.tar.gz: 21b3983120e7eafeabf64e1a82720989900f9bdaa8c8a6696ecc4f8760f61017d59523b2dc0b6dd84b6cfdb7c46c3b52d0fb800bad58a07a991964d2f1872218
|
data/lib/tg_send_duo.rb
CHANGED
@@ -157,15 +157,6 @@ class Naver
|
|
157
157
|
sleep(1)
|
158
158
|
@driver.execute_script("document.body.style.zoom = '70%'")
|
159
159
|
|
160
|
-
begin
|
161
|
-
#검색어가 입력되있는경우 크로스
|
162
|
-
wait = Selenium::WebDriver::Wait.new(:timeout => 1)
|
163
|
-
#요소가 나타날 때까지 3초 동안 기다립니다.
|
164
|
-
wait.until { @driver.find_element(:xpath, '//*[@class="Transition_slide icon-container-slide Transition_slide-active"]') }
|
165
|
-
@driver.find_element(:xpath, '//*[class="Transition_slide icon-container-slide Transition_slide-active"]').click
|
166
|
-
sleep(1)
|
167
|
-
rescue
|
168
|
-
end
|
169
160
|
|
170
161
|
begin
|
171
162
|
wait = Selenium::WebDriver::Wait.new(:timeout => 3)
|
@@ -403,6 +394,15 @@ class Naver
|
|
403
394
|
rescue
|
404
395
|
end
|
405
396
|
|
397
|
+
begin
|
398
|
+
# 예외
|
399
|
+
@driver.find_element(:xpath, '//*[@class="Button tiny translucent round"]')
|
400
|
+
sleep(1)
|
401
|
+
@driver.find_element(:xpath, '//*[@class="Button tiny translucent round"]').click
|
402
|
+
sleep(1)
|
403
|
+
rescue
|
404
|
+
end
|
405
|
+
|
406
406
|
begin
|
407
407
|
@driver.find_element(:xpath, '//*[@ id="telegram-search-input"]')
|
408
408
|
rescue => e
|
@@ -589,6 +589,16 @@ class Naver
|
|
589
589
|
@driver.close
|
590
590
|
rescue
|
591
591
|
end
|
592
|
+
|
593
|
+
begin
|
594
|
+
# 예외
|
595
|
+
@driver.find_element(:xpath, '//*[@class="Button tiny translucent round"]')
|
596
|
+
sleep(1)
|
597
|
+
@driver.find_element(:xpath, '//*[@class="Button tiny translucent round"]').click
|
598
|
+
sleep(1)
|
599
|
+
rescue
|
600
|
+
end
|
601
|
+
|
592
602
|
begin
|
593
603
|
@driver.find_element(:xpath, '//*[@class="ThfRMqwq is-pointer-env is-windows"]')
|
594
604
|
rescue => e
|
@@ -1220,7 +1230,7 @@ class Wordpress
|
|
1220
1230
|
stretchy false
|
1221
1231
|
grid{
|
1222
1232
|
@data['group_list'] = entry{
|
1223
|
-
text 'ex)
|
1233
|
+
text 'ex) abc123'
|
1224
1234
|
top 0
|
1225
1235
|
left 0
|
1226
1236
|
}
|
@@ -1228,7 +1238,7 @@ class Wordpress
|
|
1228
1238
|
|
1229
1239
|
|
1230
1240
|
|
1231
|
-
button('
|
1241
|
+
button(' 그룹방 ID 등록하기 '){
|
1232
1242
|
top 0
|
1233
1243
|
left 1
|
1234
1244
|
on_clicked {
|
@@ -1237,7 +1247,7 @@ class Wordpress
|
|
1237
1247
|
@data['table'].pop
|
1238
1248
|
}
|
1239
1249
|
}
|
1240
|
-
button('그룹
|
1250
|
+
button('그룹 list 불러오기 ') {
|
1241
1251
|
top 0
|
1242
1252
|
left 2
|
1243
1253
|
on_clicked {
|
@@ -1345,7 +1355,7 @@ class Wordpress
|
|
1345
1355
|
editable true
|
1346
1356
|
}
|
1347
1357
|
|
1348
|
-
text_column('
|
1358
|
+
text_column('그룹방 LIST'){
|
1349
1359
|
editable true
|
1350
1360
|
|
1351
1361
|
}
|