posting_duo 0.0.25 → 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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/posting_duo.rb +6 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a038985fd151a9a0d2c38da3d3c2896a1d5c278118ca5a844db6c28915bb2915
4
- data.tar.gz: b4415e47d065865d8d56bc4d72c37fdf950412a061f10759f1f797ea9508561f
3
+ metadata.gz: '01778f22ad62317adadacfce23b6723557eeccb3a05061f361a6688e495d057c'
4
+ data.tar.gz: 612c3d2dc22d0d954a070866c8550d235475abe581dddf738abba9a5f65178b5
5
5
  SHA512:
6
- metadata.gz: f93926eb1fc7c4f3fb90735b0b808669e830704ca88e8ec4a78bc92f148b8a28c04d1a69b492f44ea5e798fa62f94c06e1e3012db7702a1f055b4cb826f1caf9
7
- data.tar.gz: 5a078af1f2522d833a209426913cc94a8208850dc5df77705d11e137c7340f850186416ffb1952e6a56eb68067c04738b4caa504bb1e108dca5b37954dcb83aa
6
+ metadata.gz: 766c9fcb003b7dd3dc4edfbb012bf374c3815e2e1238178d15b3076fb8c72e663038dfb8ccf3c4934d034deb6d882e29a43519727ecb91d1b7c0cbf8f3107bdb
7
+ data.tar.gz: 52540875ecfe41e8611b9cd623852db9bab169a571f13f358b6444f89e68eaa8d1d0b1a764ec8a2c6035f6a77a594152eb018300e4a16b763f896c735d67f279
data/lib/posting_duo.rb CHANGED
@@ -42,8 +42,9 @@ class Naver
42
42
  rescue => e
43
43
  puts "webdrivers에서 chromedriver 다운로드 실패: #{e.message}"
44
44
  puts " 자동으로 chromedriver.exe 사용합니다."
45
- puts "만일 프로그램 폴더안에 chromedriver.exe 버전이 맞지 않거나 없는 경우"
45
+ puts "만일 프로그램 폴더안에 chromedriver.exe 버전이 맞지 않거나 없는 경우 인터넷창이 깜빡하고 닫히거나 열리지 않는경우에만 아래 안내를 따라주세요."
46
46
  puts "https://storage.googleapis.com/chrome-for-testing-public/사용자크롬버전/win32/chromedriver-win32.zip 링크를 복사 후 복사 된 링크 중(사용자크롬버전) 부분을 크롬 사용자의 버전(예:131.0.6778.264)으로 수정 후 주소입력 부분에 넣어 엔터 후 다운로드 하고 압축을 풀고 chromedriver.exe 파일만 프로그램 폴더안에 넣어주세요."
47
+ puts "인터넷 창이 열리고 작업을 한다면 위 항목은 패스해주세요."
47
48
  # 예외가 발생하면 수동 경로 사용
48
49
  Selenium::WebDriver::Chrome::Service.driver_path = chromedriver_path
49
50
  end
@@ -58,7 +59,7 @@ class Naver
58
59
  options.add_argument('--start-maximized')
59
60
  options.add_argument('user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.59 Safari/537.36') # user-agent 위조
60
61
  options.add_argument('--disable-blink-features=AutomationControlled') # 자동화된 환경에서 실행되는 것을 감지하는 기능을 비활성화합니다.
61
- options.add_argument('--ignore-certificate-errors') # SSL 인증서 오류 무시
62
+
62
63
  options.add_argument('--disable-web-security') # 웹 보안 비활성화
63
64
  options.add_argument('--allow-running-insecure-content') # HTTPS 사이트에서 HTTP 컨텐츠 실행 허용
64
65
  options.add_argument('--no-sandbox') # 샌드박스 모드 비활성화
@@ -83,7 +84,7 @@ class Naver
83
84
  options.add_argument('--start-maximized')
84
85
  options.add_argument('user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.59 Safari/537.36')
85
86
  options.add_argument('--disable-blink-features=AutomationControlled')
86
- options.add_argument('--ignore-certificate-errors')
87
+
87
88
  options.add_argument('--disable-web-security')
88
89
  options.add_argument('--allow-running-insecure-content')
89
90
  options.add_argument('--no-sandbox')
@@ -109,7 +110,7 @@ class Naver
109
110
  options.add_argument('--start-maximized')
110
111
  options.add_argument('user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.59 Safari/537.36')
111
112
  options.add_argument('--disable-blink-features=AutomationControlled')
112
- options.add_argument('--ignore-certificate-errors')
113
+
113
114
  options.add_argument('--disable-web-security')
114
115
  options.add_argument('--allow-running-insecure-content')
115
116
  options.add_argument('--no-sandbox')
@@ -132,7 +133,7 @@ class Naver
132
133
  options.add_argument('--start-maximized')
133
134
  options.add_argument('user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.59 Safari/537.36')
134
135
  options.add_argument('--disable-blink-features=AutomationControlled')
135
- options.add_argument('--ignore-certificate-errors')
136
+
136
137
  options.add_argument('--disable-web-security')
137
138
  options.add_argument('--allow-running-insecure-content')
138
139
  options.add_argument('--no-sandbox')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: posting_duo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - zon