12월 032013
 

OSX에는 알프레드(http://www.alfredapp.com/)라는 앱이 있습니다. 이 앱은 쉽게 키보드로 여러 기능을 빠르게 실행할 수 있게 해줍니다. 기본적인 기능은 무료 버전을 다운로드 받으시면 됩니다. 하지만 Alfred에 기능(워크플로우)을 추가할 수 있는 기능은 따로 파워팩을 구매해야만 합니다.

이 앱을 사용하다 보니 네이버 검색이나, 사전에서 같은 것을 쉽게 쓸 수 있었으면 좋을 것 같다는 생각을 하게 되었습니다. 기존에 자동완성은 되지 않지만 브라우져 창을 열어 주는 것은 기존에 있었습니다. 저는 자동완성도 되길 원했기 때문에 간단히 만들어 보았습니다. 그리고 작성한 코드는 github에(https://github.com/Kuniz/alfnaversearch) 공개하였습니다.  아래 링크에서 다운 받으면 됩니다.

다운로드 

사용하면서 버그나 추가적으로 필요하신 기능같은게 있다면 댓글을 달아주세요. 가능한 범위 내에서 적용하도록 하겠습니다.

[수정 2014-04-18 01:32+0900] shasing님, 이재호님께서 제보해주신 부분 중 자동완성 후 브라우져 작동시 잘 못되는 문제 해결하였습니다.
[수정 2014-04-18 01:38+0900] shasing님께서 말씀하신 일본어 한자 자동완성 기능도 추가하였습니다.
[수정 2014-04-22 01:32+0900] shasing님께서 말씀하신 일본어 자동완성 버그 수정하였습니다.
[수정 2014-05-18 18:26+0900] 1. 국빵님께서 요청하신 중국어 자동완성 기능 넣었습니다.  2. 라이브러리 성능을 개선하였습니다. 기존에 쓰시던 분들도 다시 받아주세요 ㅎㅎ 3. 중국어 자동완성에 있어서 한글로 입력을 했을 때 한글로만 나오는건 네이버 중국어 사전 자동완성 기능이 그 부분만 제공하기 때문입니다 ㅠㅠ
[수정 2014-07-23 12:07+0900] 독일어, 한자사전 추가됬습니다.
[수정 2014-11-08 16:36+0900] 프랑스어 추가 및 링크 깨진 것 수정 하였습니다.
[수정 2016-07-02 01:26+0900] norux님이 워크플로우에 한글 디렉토리명이 있는 경우에 대한 버그 수정 기여해주셨습니다~ 감사합니다.  버그 수정한 버전 업로드 되어 있습니다!
[수정 2016-10-01 01:09+0900] 이탈리아어 사전 추가했습니다.
[수정 2016-10-15 22:30+0900] 러시아어, 스페인어, 태국어, 베트남어 사전 추가했습니다.
[수정 2016-12-11 15:07+0900] 러시아어, 스페인어, 태국어, 베트남어 사전 추가했습니다.
[수정 2016-01-01 16:05+0900] 중국어 사전 자동완성 결과 개선
[수정 2017-07-25 03:45+0900] 연관 프레임워크 업데이트 (시에라 백그라운드 버그 해결)

[수정 2017-12-14 02:06+0900] 독일어사전 API주소 변경

[수정 2021-01-01 12:38+0900] 네이버 자동완성 API주소 변경
[수정 2021-08-23 01:15+0900] 24개 언어 추가 및 일본어 사전 자동완성 주소 변경

[수정 2021-10-20 12:00+0900] 네이버 쇼핑 자동완성 적용

[수정 2022-01-04 01:50+0900] 각종 버그 수정 및 macos 등 지원 강화

[수정 2022-01-28 01:17+0900] na명령 버그 수정 및 영영사전 추가

[수정 2022-02-09 01:53+0900] python2/3 지원. @kw-lee 님 감사합니다 🙂 -> macOS 12.3에서 안될시 python3 설치 후 다운받아주세요.
 

[수정 2022-04-06 01:22+0900] 자동완성의 상세내용을 cmd+C 로 클립보드 복사되도록 기능 추가

사용방법


 na 명령 : 네이버 일반 검색을 수행합니다.

2013-12-03_20-36-02

ns 명령 : 네이버 쇼핑 검색을 수행합니다.

nae 명령 : 네이버 영어사전 검색을 수행합니다.

영어로 입력시 한글 단어가 나오며, 한글로 입력시 영어 단어가 나옵니다.

2013-12-03_20-36-35

2013-12-03_20-36-56

 

naj 명령: 네이버에서 일어사전 검색을 합니다.

로마자 입력 검색시 일문, 일어 검색시 한국어, 한국어 검색시 일어 단어가 출력됩니다.

2013-12-03_20-37-57

2013-12-03_20-37-24

2013-12-03_20-37-10

 

* `nak ...` : Naver Korean Dictionary (국어 사전)
* `nae ...` : Naver Korean-English Dictionary (영어 사전)
* `naee ...` : Naver English-English Dictionary (영어 사전)
* `naj ...` : Naver Korean-Japanese Dictionary (일본어 사전)
* `nac ...` : Naver Korean-Chinese Dictionary (중국어 사전)
* `nah ...` : Naver Hanja Dictionary (한자 사전)
* `nad ...` : Naver Korean-German Dictionary (독일어 사전)
* `naf ...` : Naver Korean-French Dictionary (프랑스어 사전)
* `nai ...` : Naver Korean-Italian Dictionary (이탈리아어 사전)
* `nar ...` : Naver Korean-Russian Dictionary (러시아어 사전)
* `nas ...` : Naver Korean-Spanish Dictionary (스페인어 사전)
* `nat ...` : Naver Korean-Thai Dictionary (태국어 사전)
* `nav ...` : Naver Korean-Vietnamese Dictionary (베트남어 사전)
* `nan ...` : Naver Korean-Indonesian Dictionary (인도네시아어 사전)
* `nau ...` : Naver Korean-Uzbekistan Dictionary (우즈베키스탄어 사전)
* `nane ...` : Naver Korean-Nepali Dictionary (네팔어 사전)
* `namn ...` : Naver Korean-Mongolian Dictionary (몽골어 사전)
* `namy ...` : Naver Korean-Burmese Dictionary (미안마어 사전)
* `nasw ...` : Naver Korean-Swahili Dictionary (스와힐리어 사전)
* `naar ...` : Naver Korean-Aramaic Dictionary (아랍어 사전)
* `nakm ...` : Naver Korean-Cambodian Dictionary (캄보디아어 사전)
* `nafa ...` : Naver Korean-Persian Dictionary (페르시아어 사전)
* `nahi ...` : Naver Korean-Hindi Dictionary (힌디어 사전)
* `nanl ...` : Naver Korean-Dutch Dictionary (네덜란드어 사전)
* `nasv ...` : Naver Korean-Swedish Dictionary (스웨덴어 사전)
* `nauk ...` : Naver Korean-Ukrainian Dictionary (우크라이나어 사전)
* `naka ...` : Naver Korean-Gruziya Dictionary (조지아어 사전)
* `nacs ...` : Naver Korean-Czech Dictionary (체코어 사전)
* `nahr ...` : Naver Korean-Croatian Dictionary (크로아티아어 사전)
* `natr ...` : Naver Korean-Turkish Dictionary (터키어 사전)
* `napt ...` : Naver Korean-Portuguese Dictionary (포르투갈어 사전)
* `napl ...` : Naver Korean-Polish Dictionary (폴란드어 사전)
* `nafi ...` : Naver Korean-Finnish Dictionary (핀란드어 사전)
* `nahu ...` : Naver Korean-Hungarian Dictionary (헝가리어 사전)
* `nasq ...` : Naver Korean-Albanian Dictionary (알바니아어 사전)
* `naro ...` : Naver Korean-Rumanian Dictionary (루마니아어 사전)
* `nala ...` : Naver Korean-Latin Dictionary (라틴어 사전)
* `nael ...` : Naver Korean-Greek Dictionary (그리스어 사전)

  116 Responses to “네이버 자동완성을 위한 알프레드 워크플로우”

  1. 네이버 사전 알프레드 워크플로우 적용해서 사용해 보았습니다.
    이런 유용한 워크플로어를 만들어 주셔서 감사히 잘 쓰겠습니다.

    그런데 영어 검색할때 버그가 있어서 문의 드립니다.
    예를들어 love로 영어 입력시 자동완성 되어져 나오는 love affair라는 단어를 선택해서 검색하면 영어가 아닌
    (연애,정사,열광) 이라는 한글로 검색되어 집니다.
    이 버그만 수정해서 다시 올려 주시면 고맙겠습니다.

  2. 안녕하세요 워크플로 사용중인 한 대학생 입니다.
    다름이 아니라 워크플로에서nae 친 후 apple 을 입력하면 밑에 ‘사과”라고 뜻이 뜨는데요. 여기에 리턴키를 누르면 사파리 네이버 사전에 apple이 검색된 창이 뜨는게 아니라 사과 가 검색된 창으로 뜨네요… 버그라면 버그 인가요?

  3. 영어 사전에 버그가 있습니다.
    영어 입력한 후에 자동 검색 선택해서 엔터치면 검색창에 영어가 아닌 한글로 입력되서 검색 됩니다. 버그 수정해서 다시 올려 주시면 감사 하겠습니다.

  4. 예~ 말씀해 주신 내용 확인해서 토요일 저녘까지 반영하도록 하겠습니다~

    의견 감사드립니다.

  5. 한가지 더 가능하시면 추가기능 부탁 드릴게요. 일본어 사전 검색에서 한자로도 자동완성 되어지면 아주 완벽한 워크플로가 될것 같습니다. 수고 스럽지만 검토 부탁 드립니다.

  6. 수정해서 올려주신 것 받아서 테스트해 보았습니다 .
    영어사전은 문제가 없었습니다.
    일본어 사전은 한자로 입력시 자동 완성이 되어 지기는 하는데..

    예를 들어 :観光를 입력시 (かんこう)로 표기 되는게 아니라(관광)이 아니라 즉 ‘뜻’으로 표기 되어져야 합니다.
    見る를 입력시 (みる)가 아니라 (보다, 눈으로 파악.확인하다 등..)으로 표기 되어져야 합니다.

    그런데 저만 그런가요? 일본어 입력시 ‘사랑’으로 검색하면 자동완성이 안될뿐만 아니라 검색 명령가 안됩니다.
    참고로 전 언어 설정이 일본어로 되어 있습니다.
    시간이 없어서 많이는 테스트를 못 해 보았습니다. 좀 더 사용 후 연락 드리겠습니다. 감사 합니다.

    • 자동완성에서 일본어의 한자가 뜻으로 표현되지 않고 후리가나로 표현되는 부분은 네이버쪽의 일어사전 자동완성 기능이 그렇게 구현되어 있기 때문입니다. 뜻으로 나오게 하는 부분에 대해서는 한 번 연구해 보도록 하겠습니다^^
      ‘사랑’ 검색했을 때와 관련해서는 확인해보겠습니다!

  7. 위에 나열한 버그만 수정해 주시면 될것 같습니다. 유독 일본어 검색에서 사랑이라고 치면 검색 명려어가 풀려 버리네요.
    그럼 부탁 드리겠습니다.

  8. 수정해 주셔서 감사합니다.
    유용하게 잘 쓰겠습니다.

  9. 안녕하세요 유용한 워크플로 감사드립니다~
    실례지만 혹시 중국어 사전도 추가 해주실 수 있으신지요…?

  10. 사용해봤는데요, 뜻이 같이 나오지 않는건 어쩔수 없지만 ㅠㅠ
    영문으로 발음만 입력했을때 중국어도 같이 나오고 좋은것 같습니다~
    감사해요~

    • 안타깝게도 다음사전은 타이핑할때 뜻도 같이 나오도록 지원이 되나보네요……. ㅠㅠ

      • 그럼 다음에 시간 여유가 있을 때 “다음 사전”쪽도 만들어 보겠습니다 ㅎㅎ 만들게 되면 이메일로 알려 드릴까요?

  11. 감사합니다. 평소 알프레드 기본 검색엔진으로만 썼었는데 이런게 있었네요^^

  12. 안녕하세요

    시간되시면 다음에 프랑스어 사전도 추가해주시면 정말 감사하겠습니다! 

  13. 안녕하세요. 저는 의외로 국어사전을 많이 사용하는데…….ㅠㅠ

    국어사전도 추가해주시면 정말 많은 도움이 될것 같습니다!!

  14. 그리구 네이버 검색 SE 버전검색 말고 일반버전 검색도 있으면 정말 좋을것 같습니다!!

  15. 안녕하세요. 제 맥에선 실행시 에러가 나네요. 한번 봐주시겠어요?
    에러메세지는 아래와 같습니다.

    Error in workflow ‘com.uturtle.alfnaversearch’

    • 최신 버젼 재설치 후에도 동일 문제가 반복될 시에 혹시 좀 더 정확한 환경을 알 수 있을까요?
      – Alfred version, powerpack 사용여부
      – OS X(macos버전)
      – 홈디렉토리 : 터미널을 켜서 `cd ~ ; pwd` 를 사용하면 확인 가능 (예: /Users/uturtle)
      관련 버그 리포팅이 있어서 해결했는데 혹시 모르니 확인 부탁드립니다.
      – 설치 후 구체적인 상황(예: 설치하자 마자 문제, 특정 검색어에서 문제)
      – Alfred Preferernces > Workflows > “Naver Search” > 우측상단에 벌레모양 아이콘 클릭 > 알프레드 네이버 워크플로우 사용 > 로그 전체 복사

      불편하시겠지만, 확인부탁드립니다.

      • 안녕하세요! 바쁘실텐데, 관심가져 주셔서 감사합니다.
        정확한 환경을 알려드리도록 하겠습니다.

        Alfred version: v3.1[718]

        powerpack: 사용함

        OS X: El Capitan 10.11.6

        홈디렉토리: /Users/suhan

        설치 후 구체적인 상황: 설치후 알프레드 입력창에 예를 들어, “nac apple”을 입력하면 에러 메세지가 나타납니다.

        에러 메세지는 다음과 같습니다.
        Error in workflow ‘com.uturtle.alfmaversearch’

        비단 네이버 중국어 사전 뿐만 아니라, 네이버 모든 사전이 동일한 에러 메세지가 나타나고 있습니다.

        – Alfred Preferernces > Workflows > “Naver Search” > 우측상단에 벌레모양 아이콘 클릭 > 알프레드 네이버 워크플로우 사용 > 로그 전체 복사

        벌레 모양까지는 찾았는데, 알프레드 네이버 워크플로우 사용 ? 이게 무슨 뜻인지 모르겠습니다. 벌레 모양 눌렀을 때 나타나는 메세지는 아래와 같습니다.

        Starting debug for ‘Naver Search’

        살펴보시고 필요한 정보가 있다면 알려주시면 감사하겠습니다.

        • 알프레드 네이버 워크플로우 사용은 벌레 모양 눌렀을 때 창을 나타나게한 상태에서 실제로 “nae”명령이나 “nac” 명령을 직접 사용해 보시고, 그 때 나타나는 메시지들을 부탁한다는 이야기였습니다.
          좀 더 잘 설명 드렸어야 했는데 죄송합니다;ㅁ;

          로그(메시지) 확인이 되면 문제점 파악해서 코드 문제인지 환경문제인지 확인하여 어드바이스드리도록 하겠습니다.

          감사합니다!

          • 아닙니다^^ 설명을 잘해 주셨지만, 제가 이해하지 못한걸요..ㅋㅋ
            로그 카피해서 첨부드립니다.
            수고스럽지만 확인 부탁드립니다.

            Starting debug for ‘Naver Search’

            [2016-09-17 18:28:07][ERROR: input.scriptfilter] Code 1: 18:28:07 workflow.py:1830 ERROR
            Traceback (most recent call last):
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1828, in run
            func(self)
            File “cndic_naver_search.py”, line 54, in main
            res_json = wf.cached_data(“cn_%s” % args, wrapper, max_age=600)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1501, in cached_data
            data = data_func()
            File “cndic_naver_search.py”, line 52, in wrapper
            return get_dictionary_data(args)
            File “cndic_naver_search.py”, line 36, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 415, in get
            auth=auth, timeout=timeout, allow_redirects=allow_redirects)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 403, in request
            return Response(req)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 162, in __init__
            self.raw = urllib2.urlopen(request)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
            return opener.open(url, data, timeout)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
            response = self._open(req, data)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
            ‘_open’, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
            result = func(*args)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1227, in http_open
            return self.do_open(httplib.HTTPConnection, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1197, in do_open
            raise URLError(err)
            URLError:
            [2016-09-17 18:28:07][input.scriptfilter]
            Error in workflow ‘com.uturtle.alfnaversearch'<urlopen error [Errno 64] Host is down>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [2016-09-17 18:28:08][ERROR: input.scriptfilter] Code 1: 18:28:08 workflow.py:1830 ERROR
            Traceback (most recent call last):
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1828, in run
            func(self)
            File “cndic_naver_search.py”, line 54, in main
            res_json = wf.cached_data(“cn_%s” % args, wrapper, max_age=600)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1501, in cached_data
            data = data_func()
            File “cndic_naver_search.py”, line 52, in wrapper
            return get_dictionary_data(args)
            File “cndic_naver_search.py”, line 36, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 415, in get
            auth=auth, timeout=timeout, allow_redirects=allow_redirects)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 403, in request
            return Response(req)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 162, in __init__
            self.raw = urllib2.urlopen(request)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
            return opener.open(url, data, timeout)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
            response = self._open(req, data)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
            ‘_open’, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
            result = func(*args)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1227, in http_open
            return self.do_open(httplib.HTTPConnection, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1197, in do_open
            raise URLError(err)
            URLError:
            [2016-09-17 18:28:08][input.scriptfilter]
            Error in workflow ‘com.uturtle.alfnaversearch'<urlopen error [Errno 64] Host is down>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [2016-09-17 18:28:08][ERROR: input.scriptfilter] Code 1: 18:28:08 workflow.py:1830 ERROR
            Traceback (most recent call last):
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1828, in run
            func(self)
            File “cndic_naver_search.py”, line 54, in main
            res_json = wf.cached_data(“cn_%s” % args, wrapper, max_age=600)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1501, in cached_data
            data = data_func()
            File “cndic_naver_search.py”, line 52, in wrapper
            return get_dictionary_data(args)
            File “cndic_naver_search.py”, line 36, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 415, in get
            auth=auth, timeout=timeout, allow_redirects=allow_redirects)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 403, in request
            return Response(req)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 162, in __init__
            self.raw = urllib2.urlopen(request)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
            return opener.open(url, data, timeout)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
            response = self._open(req, data)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
            ‘_open’, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
            result = func(*args)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1227, in http_open
            return self.do_open(httplib.HTTPConnection, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1197, in do_open
            raise URLError(err)
            URLError:
            [2016-09-17 18:28:08][input.scriptfilter]
            Error in workflow ‘com.uturtle.alfnaversearch'<urlopen error [Errno 64] Host is down>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [2016-09-17 18:28:09][ERROR: input.scriptfilter] Code 1: 18:28:08 workflow.py:1830 ERROR
            Traceback (most recent call last):
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1828, in run
            func(self)
            File “cndic_naver_search.py”, line 54, in main
            res_json = wf.cached_data(“cn_%s” % args, wrapper, max_age=600)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1501, in cached_data
            data = data_func()
            File “cndic_naver_search.py”, line 52, in wrapper
            return get_dictionary_data(args)
            File “cndic_naver_search.py”, line 36, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 415, in get
            auth=auth, timeout=timeout, allow_redirects=allow_redirects)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 403, in request
            return Response(req)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 162, in __init__
            self.raw = urllib2.urlopen(request)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
            return opener.open(url, data, timeout)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
            response = self._open(req, data)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
            ‘_open’, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
            result = func(*args)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1227, in http_open
            return self.do_open(httplib.HTTPConnection, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1197, in do_open
            raise URLError(err)
            URLError:
            [2016-09-17 18:28:09][input.scriptfilter]
            Error in workflow ‘com.uturtle.alfnaversearch'<urlopen error [Errno 64] Host is down>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [2016-09-17 18:28:09][ERROR: input.scriptfilter] Code 1: 18:28:09 workflow.py:1830 ERROR
            Traceback (most recent call last):
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1828, in run
            func(self)
            File “cndic_naver_search.py”, line 54, in main
            res_json = wf.cached_data(“cn_%s” % args, wrapper, max_age=600)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1501, in cached_data
            data = data_func()
            File “cndic_naver_search.py”, line 52, in wrapper
            return get_dictionary_data(args)
            File “cndic_naver_search.py”, line 36, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 415, in get
            auth=auth, timeout=timeout, allow_redirects=allow_redirects)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 403, in request
            return Response(req)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 162, in __init__
            self.raw = urllib2.urlopen(request)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
            return opener.open(url, data, timeout)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
            response = self._open(req, data)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
            ‘_open’, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
            result = func(*args)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1227, in http_open
            return self.do_open(httplib.HTTPConnection, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1197, in do_open
            raise URLError(err)
            URLError:
            [2016-09-17 18:28:09][input.scriptfilter]
            Error in workflow ‘com.uturtle.alfnaversearch'<urlopen error [Errno 64] Host is down>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [2016-09-17 18:28:11][ERROR: input.scriptfilter] Code 1: 18:28:11 workflow.py:1830 ERROR
            Traceback (most recent call last):
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1828, in run
            func(self)
            File “cndic_naver_search.py”, line 54, in main
            res_json = wf.cached_data(“cn_%s” % args, wrapper, max_age=600)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1501, in cached_data
            data = data_func()
            File “cndic_naver_search.py”, line 52, in wrapper
            return get_dictionary_data(args)
            File “cndic_naver_search.py”, line 36, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 415, in get
            auth=auth, timeout=timeout, allow_redirects=allow_redirects)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 403, in request
            return Response(req)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 162, in __init__
            self.raw = urllib2.urlopen(request)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
            return opener.open(url, data, timeout)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
            response = self._open(req, data)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
            ‘_open’, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
            result = func(*args)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1227, in http_open
            return self.do_open(httplib.HTTPConnection, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1197, in do_open
            raise URLError(err)
            URLError:
            [2016-09-17 18:28:12][input.scriptfilter]
            Error in workflow ‘com.uturtle.alfnaversearch'<urlopen error [Errno 64] Host is down>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [2016-09-17 18:28:12][ERROR: input.scriptfilter] Code 1: 18:28:12 workflow.py:1830 ERROR
            Traceback (most recent call last):
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1828, in run
            func(self)
            File “cndic_naver_search.py”, line 54, in main
            res_json = wf.cached_data(“cn_%s” % args, wrapper, max_age=600)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1501, in cached_data
            data = data_func()
            File “cndic_naver_search.py”, line 52, in wrapper
            return get_dictionary_data(args)
            File “cndic_naver_search.py”, line 36, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 415, in get
            auth=auth, timeout=timeout, allow_redirects=allow_redirects)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 403, in request
            return Response(req)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 162, in __init__
            self.raw = urllib2.urlopen(request)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
            return opener.open(url, data, timeout)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
            response = self._open(req, data)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
            ‘_open’, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
            result = func(*args)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1227, in http_open
            return self.do_open(httplib.HTTPConnection, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1197, in do_open
            raise URLError(err)
            URLError:
            [2016-09-17 18:28:12][input.scriptfilter]
            Error in workflow ‘com.uturtle.alfnaversearch'<urlopen error [Errno 64] Host is down>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [2016-09-17 18:28:12][ERROR: input.scriptfilter] Code 1: 18:28:12 workflow.py:1830 ERROR
            Traceback (most recent call last):
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1828, in run
            func(self)
            File “cndic_naver_search.py”, line 54, in main
            res_json = wf.cached_data(“cn_%s” % args, wrapper, max_age=600)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1501, in cached_data
            data = data_func()
            File “cndic_naver_search.py”, line 52, in wrapper
            return get_dictionary_data(args)
            File “cndic_naver_search.py”, line 36, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 415, in get
            auth=auth, timeout=timeout, allow_redirects=allow_redirects)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 403, in request
            return Response(req)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 162, in __init__
            self.raw = urllib2.urlopen(request)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
            return opener.open(url, data, timeout)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
            response = self._open(req, data)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
            ‘_open’, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
            result = func(*args)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1227, in http_open
            return self.do_open(httplib.HTTPConnection, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1197, in do_open
            raise URLError(err)
            URLError:
            [2016-09-17 18:28:12][input.scriptfilter]
            Error in workflow ‘com.uturtle.alfnaversearch'<urlopen error [Errno 64] Host is down>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [2016-09-17 18:28:13][ERROR: input.scriptfilter] Code 1: 18:28:13 workflow.py:1830 ERROR
            Traceback (most recent call last):
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1828, in run
            func(self)
            File “cndic_naver_search.py”, line 54, in main
            res_json = wf.cached_data(“cn_%s” % args, wrapper, max_age=600)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1501, in cached_data
            data = data_func()
            File “cndic_naver_search.py”, line 52, in wrapper
            return get_dictionary_data(args)
            File “cndic_naver_search.py”, line 36, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 415, in get
            auth=auth, timeout=timeout, allow_redirects=allow_redirects)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 403, in request
            return Response(req)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 162, in __init__
            self.raw = urllib2.urlopen(request)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
            return opener.open(url, data, timeout)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
            response = self._open(req, data)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
            ‘_open’, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
            result = func(*args)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1227, in http_open
            return self.do_open(httplib.HTTPConnection, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1197, in do_open
            raise URLError(err)
            URLError:
            [2016-09-17 18:28:13][input.scriptfilter]
            Error in workflow ‘com.uturtle.alfnaversearch'<urlopen error [Errno 64] Host is down>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [2016-09-17 18:28:13][ERROR: input.scriptfilter] Code 1: 18:28:13 workflow.py:1830 ERROR
            Traceback (most recent call last):
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1828, in run
            func(self)
            File “cndic_naver_search.py”, line 54, in main
            res_json = wf.cached_data(“cn_%s” % args, wrapper, max_age=600)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1501, in cached_data
            data = data_func()
            File “cndic_naver_search.py”, line 52, in wrapper
            return get_dictionary_data(args)
            File “cndic_naver_search.py”, line 36, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 415, in get
            auth=auth, timeout=timeout, allow_redirects=allow_redirects)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 403, in request
            return Response(req)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 162, in __init__
            self.raw = urllib2.urlopen(request)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
            return opener.open(url, data, timeout)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
            response = self._open(req, data)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
            ‘_open’, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
            result = func(*args)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1227, in http_open
            return self.do_open(httplib.HTTPConnection, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1197, in do_open
            raise URLError(err)
            URLError:
            [2016-09-17 18:28:13][input.scriptfilter]
            Error in workflow ‘com.uturtle.alfnaversearch'<urlopen error [Errno 64] Host is down>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [2016-09-17 18:28:14][ERROR: input.scriptfilter] Code 1: 18:28:14 workflow.py:1830 ERROR
            Traceback (most recent call last):
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1828, in run
            func(self)
            File “cndic_naver_search.py”, line 54, in main
            res_json = wf.cached_data(“cn_%s” % args, wrapper, max_age=600)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1501, in cached_data
            data = data_func()
            File “cndic_naver_search.py”, line 52, in wrapper
            return get_dictionary_data(args)
            File “cndic_naver_search.py”, line 36, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 415, in get
            auth=auth, timeout=timeout, allow_redirects=allow_redirects)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 403, in request
            return Response(req)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 162, in __init__
            self.raw = urllib2.urlopen(request)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
            return opener.open(url, data, timeout)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
            response = self._open(req, data)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
            ‘_open’, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
            result = func(*args)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1227, in http_open
            return self.do_open(httplib.HTTPConnection, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1197, in do_open
            raise URLError(err)
            URLError:
            [2016-09-17 18:28:14][input.scriptfilter]
            Error in workflow ‘com.uturtle.alfnaversearch'<urlopen error [Errno 64] Host is down>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [2016-09-17 18:28:14][ERROR: input.scriptfilter] Code 1: 18:28:14 workflow.py:1830 ERROR
            Traceback (most recent call last):
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1828, in run
            func(self)
            File “cndic_naver_search.py”, line 54, in main
            res_json = wf.cached_data(“cn_%s” % args, wrapper, max_age=600)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/workflow.py”, line 1501, in cached_data
            data = data_func()
            File “cndic_naver_search.py”, line 52, in wrapper
            return get_dictionary_data(args)
            File “cndic_naver_search.py”, line 36, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 415, in get
            auth=auth, timeout=timeout, allow_redirects=allow_redirects)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 403, in request
            return Response(req)
            File “/Users/SUHAN/Library/Mobile Documents/com~apple~CloudDocs/alfredworkflow/Alfred.alfredpreferences/workflows/user.workflow.9F5FD96D-C527-47DB-8AD0-AE6B276B0843/workflow/web.py”, line 162, in __init__
            self.raw = urllib2.urlopen(request)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
            return opener.open(url, data, timeout)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
            response = self._open(req, data)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
            ‘_open’, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
            result = func(*args)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1227, in http_open
            return self.do_open(httplib.HTTPConnection, req)
            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1197, in do_open
            raise URLError(err)
            URLError:
            [2016-09-17 18:28:14][input.scriptfilter]
            Error in workflow ‘com.uturtle.alfnaversearch'<urlopen error [Errno 64] Host is down>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns

          • 죄송합니다. 답변이 매우 늦어졌네요 ㅠㅠ

            그동안 회사나 여러 곳에서 너무 많은 일이 있었어서 이제 회신 드립니다.

            로그를 보니까 “urlopen error [Errno 64] Host is down” 이 부분을 봤을 때 네이버의 자동완성 서버로 접속이 불가능 한 것이 문제인 것 같습니다. 현 상황에서 제 맥에서는 재현이 되지 않아서 말씀드리기는 조심스럽지만, 아래의 방법을 제안해드립니다.

            1) 인터넷 접속 상태 확인
            2) http://ac.cndic.naver.com/ac2?q=a 을 실행해서 무언가 결과가 나오는지 확인
            3) 내부 방화벽이나 공유기 설정 문제
            4) DNS서버 설정 문제
            5) 네이버에서 접근을 거부한 경우

            제가 놓치고 있는 부분이 있을 수 있습니다만, 상기 사항을 예상할 수 있을 것 같으며 저 에러가 발생한 경우에 대한 일반적인 문제 또는 해결방안을 제시해 드립니다.

            감사합니다.

  16. 안녕하세요 덕분에 좋은 자료 잘 받았습니다.
    죄송하지만 혹시 이탈리아어 사전 (http://itdic.naver.com/) workflow도 혹시 제작 해 주실 수 있으신지요?ㅠㅠ
    까막눈이지만 최대한 코딩보면서 수정 어찌어찌 해보려 했는데 잘 안되네요..

  17. 안녕하세요 좋은 워크플로우 정말 감사합니다.
    정말 죄송하지만 스페인어 사전도 부탁드립니다.(http://spdic.naver.com/)
    위에 분 처럼 저도 어떻게든 해보려고 했는데 역시 안되네요. ㅠㅠ

  18. 진짜 유용한 워크플로우 감사합니다. 잘 쓸께요!!

  19. 독일어 사전이 안됩니다.
    nad 하고 글자 치면 이렇게 나오네요
    error in workflow ‘com.uturtle.alfnaversearch’

    아래는 로그입니다.
    2014 mid 맥북 이고요. 시에라 쓰고 있습니다. 알프레드는 3.5.1 입니다.

    Starting debug for ‘Naver Search’

    [2017-12-02 23:15:38][ERROR: input.scriptfilter] Code 1: 23:15:38 workflow.py:2249 DEBUG workflow version: 0.0.11
    23:15:38 workflow.py:2267 ERROR HTTP Error 403: Forbidden
    Traceback (most recent call last):
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 2260, in run
    func(self)
    File “dedic_naver_search.py”, line 50, in main
    res_json = wf.cached_data(“de_%s” % args, wrapper, max_age=600)
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 1890, in cached_data
    data = data_func()
    File “dedic_naver_search.py”, line 48, in wrapper
    return get_dictionary_data(args)
    File “dedic_naver_search.py”, line 33, in get_dictionary_data
    r.raise_for_status()
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/web.py”, line 405, in raise_for_status
    raise self.error
    HTTPError: HTTP Error 403: Forbidden
    23:15:38 workflow.py:2290 DEBUG workflow finished in 0.054 seconds
    [2017-12-02 23:16:01][STDERR: input.scriptfilter] 23:16:01 workflow.py:2249 DEBUG workflow version: 0.0.11
    23:16:01 workflow.py:1884 DEBUG loading cached data: /Users/hyundon/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.uturtle.alfnaversearch/ru_d.cpickle
    23:16:01 workflow.py:1657 DEBUG reading settings from /Users/hyundon/Library/Application Support/Alfred 3/Workflow Data/com.uturtle.alfnaversearch/settings.json
    23:16:01 workflow.py:2441 DEBUG set last run version: 0.0.11
    23:16:01 workflow.py:2290 DEBUG workflow finished in 0.004 seconds
    [2017-12-02 23:16:08][STDERR: input.scriptfilter] 23:16:08 workflow.py:2249 DEBUG workflow version: 0.0.11
    23:16:08 workflow.py:1919 DEBUG cached data: /Users/hyundon/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.uturtle.alfnaversearch/th_d.cpickle
    23:16:08 workflow.py:1657 DEBUG reading settings from /Users/hyundon/Library/Application Support/Alfred 3/Workflow Data/com.uturtle.alfnaversearch/settings.json
    23:16:08 workflow.py:2441 DEBUG set last run version: 0.0.11
    23:16:08 workflow.py:2290 DEBUG workflow finished in 0.124 seconds
    [2017-12-02 23:16:18][ERROR: input.scriptfilter] Code 1: 23:16:18 workflow.py:2249 DEBUG workflow version: 0.0.11
    23:16:18 workflow.py:2267 ERROR HTTP Error 403: Forbidden
    Traceback (most recent call last):
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 2260, in run
    func(self)
    File “dedic_naver_search.py”, line 50, in main
    res_json = wf.cached_data(“de_%s” % args, wrapper, max_age=600)
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 1890, in cached_data
    data = data_func()
    File “dedic_naver_search.py”, line 48, in wrapper
    return get_dictionary_data(args)
    File “dedic_naver_search.py”, line 33, in get_dictionary_data
    r.raise_for_status()
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/web.py”, line 405, in raise_for_status
    raise self.error
    HTTPError: HTTP Error 403: Forbidden
    23:16:18 workflow.py:2290 DEBUG workflow finished in 0.047 seconds
    [2017-12-02 23:16:19][ERROR: input.scriptfilter] Code 1: 23:16:19 workflow.py:2249 DEBUG workflow version: 0.0.11
    23:16:19 workflow.py:2267 ERROR HTTP Error 403: Forbidden
    Traceback (most recent call last):
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 2260, in run
    func(self)
    File “dedic_naver_search.py”, line 50, in main
    res_json = wf.cached_data(“de_%s” % args, wrapper, max_age=600)
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 1890, in cached_data
    data = data_func()
    File “dedic_naver_search.py”, line 48, in wrapper
    return get_dictionary_data(args)
    File “dedic_naver_search.py”, line 33, in get_dictionary_data
    r.raise_for_status()
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/web.py”, line 405, in raise_for_status
    raise self.error
    HTTPError: HTTP Error 403: Forbidden
    23:16:19 workflow.py:2290 DEBUG workflow finished in 0.040 seconds
    [2017-12-02 23:16:20][ERROR: input.scriptfilter] Code 1: 23:16:20 workflow.py:2249 DEBUG workflow version: 0.0.11
    23:16:20 workflow.py:2267 ERROR HTTP Error 403: Forbidden
    Traceback (most recent call last):
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 2260, in run
    func(self)
    File “dedic_naver_search.py”, line 50, in main
    res_json = wf.cached_data(“de_%s” % args, wrapper, max_age=600)
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 1890, in cached_data
    data = data_func()
    File “dedic_naver_search.py”, line 48, in wrapper
    return get_dictionary_data(args)
    File “dedic_naver_search.py”, line 33, in get_dictionary_data
    r.raise_for_status()
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/web.py”, line 405, in raise_for_status
    raise self.error
    HTTPError: HTTP Error 403: Forbidden
    23:16:20 workflow.py:2290 DEBUG workflow finished in 0.048 seconds
    [2017-12-02 23:16:21][ERROR: input.scriptfilter] Code 1: 23:16:21 workflow.py:2249 DEBUG workflow version: 0.0.11
    23:16:21 workflow.py:2267 ERROR HTTP Error 403: Forbidden
    Traceback (most recent call last):
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 2260, in run
    func(self)
    File “dedic_naver_search.py”, line 50, in main
    res_json = wf.cached_data(“de_%s” % args, wrapper, max_age=600)
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 1890, in cached_data
    data = data_func()
    File “dedic_naver_search.py”, line 48, in wrapper
    return get_dictionary_data(args)
    File “dedic_naver_search.py”, line 33, in get_dictionary_data
    r.raise_for_status()
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/web.py”, line 405, in raise_for_status
    raise self.error
    HTTPError: HTTP Error 403: Forbidden
    23:16:21 workflow.py:2290 DEBUG workflow finished in 0.044 seconds
    [2017-12-02 23:16:22][ERROR: input.scriptfilter] Code 1: 23:16:22 workflow.py:2249 DEBUG workflow version: 0.0.11
    23:16:22 workflow.py:2267 ERROR HTTP Error 403: Forbidden
    Traceback (most recent call last):
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 2260, in run
    func(self)
    File “dedic_naver_search.py”, line 50, in main
    res_json = wf.cached_data(“de_%s” % args, wrapper, max_age=600)
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 1890, in cached_data
    data = data_func()
    File “dedic_naver_search.py”, line 48, in wrapper
    return get_dictionary_data(args)
    File “dedic_naver_search.py”, line 33, in get_dictionary_data
    r.raise_for_status()
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/web.py”, line 405, in raise_for_status
    raise self.error
    HTTPError: HTTP Error 403: Forbidden
    23:16:22 workflow.py:2290 DEBUG workflow finished in 0.042 seconds
    [2017-12-02 23:16:23][ERROR: input.scriptfilter] Code 1: 23:16:23 workflow.py:2249 DEBUG workflow version: 0.0.11
    23:16:23 workflow.py:2267 ERROR HTTP Error 403: Forbidden
    Traceback (most recent call last):
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 2260, in run
    func(self)
    File “dedic_naver_search.py”, line 50, in main
    res_json = wf.cached_data(“de_%s” % args, wrapper, max_age=600)
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 1890, in cached_data
    data = data_func()
    File “dedic_naver_search.py”, line 48, in wrapper
    return get_dictionary_data(args)
    File “dedic_naver_search.py”, line 33, in get_dictionary_data
    r.raise_for_status()
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/web.py”, line 405, in raise_for_status
    raise self.error
    HTTPError: HTTP Error 403: Forbidden
    23:16:23 workflow.py:2290 DEBUG workflow finished in 0.040 seconds
    [2017-12-02 23:16:24][ERROR: input.scriptfilter] Code 1: 23:16:24 workflow.py:2249 DEBUG workflow version: 0.0.11
    23:16:24 workflow.py:2267 ERROR HTTP Error 403: Forbidden
    Traceback (most recent call last):
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 2260, in run
    func(self)
    File “dedic_naver_search.py”, line 50, in main
    res_json = wf.cached_data(“de_%s” % args, wrapper, max_age=600)
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 1890, in cached_data
    data = data_func()
    File “dedic_naver_search.py”, line 48, in wrapper
    return get_dictionary_data(args)
    File “dedic_naver_search.py”, line 33, in get_dictionary_data
    r.raise_for_status()
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/web.py”, line 405, in raise_for_status
    raise self.error
    HTTPError: HTTP Error 403: Forbidden
    23:16:24 workflow.py:2290 DEBUG workflow finished in 0.047 seconds
    [2017-12-02 23:16:25][ERROR: input.scriptfilter] Code 1: 23:16:25 workflow.py:2249 DEBUG workflow version: 0.0.11
    23:16:25 workflow.py:2267 ERROR HTTP Error 403: Forbidden
    Traceback (most recent call last):
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 2260, in run
    func(self)
    File “dedic_naver_search.py”, line 50, in main
    res_json = wf.cached_data(“de_%s” % args, wrapper, max_age=600)
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 1890, in cached_data
    data = data_func()
    File “dedic_naver_search.py”, line 48, in wrapper
    return get_dictionary_data(args)
    File “dedic_naver_search.py”, line 33, in get_dictionary_data
    r.raise_for_status()
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/web.py”, line 405, in raise_for_status
    raise self.error
    HTTPError: HTTP Error 403: Forbidden
    23:16:25 workflow.py:2290 DEBUG workflow finished in 0.044 seconds
    [2017-12-02 23:16:42][ERROR: input.scriptfilter] Code 1: 23:16:42 workflow.py:2249 DEBUG workflow version: 0.0.11
    23:16:42 workflow.py:2267 ERROR HTTP Error 403: Forbidden
    Traceback (most recent call last):
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 2260, in run
    func(self)
    File “dedic_naver_search.py”, line 50, in main
    res_json = wf.cached_data(“de_%s” % args, wrapper, max_age=600)
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/workflow.py”, line 1890, in cached_data
    data = data_func()
    File “dedic_naver_search.py”, line 48, in wrapper
    return get_dictionary_data(args)
    File “dedic_naver_search.py”, line 33, in get_dictionary_data
    r.raise_for_status()
    File “/Users/hyundon/Library/Mobile Documents/com~apple~CloudDocs/Alfred folder/Alfred.alfredpreferences/workflows/user.workflow.E1AEE115-9F00-487F-9EC0-E87762E85EF0/workflow/web.py”, line 405, in raise_for_status
    raise self.error
    HTTPError: HTTP Error 403: Forbidden
    23:16:42 workflow.py:2290 DEBUG workflow finished in 0.044 seconds

  20. nad 사용시 error in workflow ‘com.uturtle.alfnaversearch’ 라고 나옵니다. 2013 late 맥프레입니다.

  21. 위의 글 계속입니다.
    알프레드 3.5.1 파워팩 사용
    홈디렉토리 Users/Guns
    로그는 아래와 같습니다.

    Starting debug for ‘Naver Search’

    [2017-12-11 00:50:33][ERROR: input.scriptfilter] Code 1: 00:50:32 workflow.py:2249 DEBUG workflow version: 0.0.11
    00:50:33 workflow.py:2267 ERROR HTTP Error 403: Forbidden
    Traceback (most recent call last):
    File “/Users/Guns/Dropbox/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C835A43E-56C1-43D8-9B02-3AD0D532FF51/workflow/workflow.py”, line 2260, in run
    func(self)
    File “dedic_naver_search.py”, line 50, in main
    res_json = wf.cached_data(“de_%s” % args, wrapper, max_age=600)
    File “/Users/Guns/Dropbox/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C835A43E-56C1-43D8-9B02-3AD0D532FF51/workflow/workflow.py”, line 1890, in cached_data
    data = data_func()
    File “dedic_naver_search.py”, line 48, in wrapper
    return get_dictionary_data(args)
    File “dedic_naver_search.py”, line 33, in get_dictionary_data
    r.raise_for_status()
    File “/Users/Guns/Dropbox/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C835A43E-56C1-43D8-9B02-3AD0D532FF51/workflow/web.py”, line 405, in raise_for_status
    raise self.error
    HTTPError: HTTP Error 403: Forbidden
    00:50:33 workflow.py:2290 DEBUG workflow finished in 1.074 seconds

  22. 네, 독일어 사전 이슈 확인했습니다.
    확인해보니 네이버에서 자동완성 호출 주소가 바뀐 것이 문제였네요.
    수정하여 업데이트 했습니다. 다시 한 번 받아보세요 ^^
    감사합니다.

  23. 알프레드 사용법 검색중이었는데 너무 감사합니다! 잘 쓰겠습니다.

  24. 깃허브에서 잘 받아사용중입니다. 다른 분께서 오래전에 만든 네이버 영어사전 버전은 알프레드4에서 안되는데 이건 잘되네요.

    영어사전과 자동완성만 사용중이긴 합니다.

    감사히 잘 쓰겠습니다. 항상 건강하세요.

     

  25. […] 다음과 같습니다.  제가 만든 네이버 검색 워크플로우 와 기본적인 방법은 […]

  26. 인터넷 검색으로 찾게 됐습니다. 

    작동이 매끄럽게 잘되네요. 잘쓰겠습니다. 감사해요!

  27. 인터넷 검색 통해 잘 사용하고 있습니다. 
    혹시, 우즈벡어 사전을 추가해 주실 수 있을까요?  
     

  28. 정말 좋은 workflow를 잘 사용하고 있습니다. 

    네이버 우즈베크어 사전도 추가가능할까요? 

    감사합니다. 

  29. 같은 방법으로 네이버쇼핑 추가 가능할까요??   ㅜ,.ㅜ

    아마존 검색어완성은 있는데 네이버쇼핑이 없네요!!

  30. 영어 사전 검색이외의 코드에 오류가 있어보입니다.
    어떻게 해결할 수 있을 까요?
    영어 일본어 프랑스어 한국어 사전 검색시
    영어 – 잘 실행되는 반면, 각각 다음과 같은 오류 코드를 보여주네요
    일어 – error in workflow ‘com.jinukbaek.alfnaversearch’
    http error 404:not found
    프어 – error in workflow ‘com.jinukbaek.alfnaversearch’

    한어 – error in workflow ‘com.jinukbaek.alfnaversearch’
    no json object could be decoded

  31. 안녕하세요 감사하게도 너무 편하게 만들어주신 워크플로우 잘 사용중인 한 사람입니다 ^^
    다름 아니오라 네이버 검색과 네이버 쇼핑 워크플로우에서 검색어를 입력하면 자동완성 위에 위치하는 것을 리스트(자동완성) 가장 밑으로 내릴수 있는 방법이 없을까요?
    제 나름대로 .py 파일을 열어 수정하려 해보았지만 순서만큼은 바꿀수가 없어 실례를 무릅쓰고 질문 드립니다.

  32. 안녕하세요~편리하게 잘 사용하고 있습니다!
    제가 영영 사전이 필요해서 안쓰는 사전의 url을 영영으로 넣어주려고하는데

    https://dict.naver.com/enendict/#/search?query={query}

    이런식으로 넣어주면 자동완성이 안되드라고요 ㅜㅜ혹시 url어떻게 변형하면되는지 알 수 있을가요???

    • 그리고 혹시 한영 사전도 추가 가능할가요???

    • 영영사전 `naee` 로 추가했습니다 ~

      그런데 한영사전은 이미 추가가 되어 있는데 혹시 어떤 형식으로 동작하는 것을 원하시는지 알 수 있을까요? ㅎㅎ

  33. 안녕하세요~ 이번에 알게 되어 많은 도움이 되고 있습니다.

    다만 na로 검색했을때 연관검색어가 일어사전으로 검색되는데 제가 아무리 뜯어보려고해도 능력이 부족하다보니 댓글을 남기게 되었습니다.

    이번 m1max 신형에서 몬테레이 버전 12.1에서 쓰고 있습니다.

    • 해당 부분 확인해봤는데 버그네요 ㅠ

      해결하여서 업데이트 v0.1.3 으로 하였습니다.

      다운로드 해서 사용 부탁드립니다!

  34. 안녕하세요. 몇년간 감사히 잘 사용하고 있던 기능입니다. 다만 최근에 nae를 하고 단어를 검색해도 사전 검색으로 연결이 되지 않고 구글 검색이 되네요 ㅠㅠ 제 맥이 M1이 아니라 그런걸까요?

    • 앗, 혹시 어떤브라우져 사용중이신지 알 수 있을까요?

      Nae에서 자동완성은 되는데 브라우져만 안켜지는것인지 궁금합니다 ㅠ

      • 사파리를 사용중입니다! nae 입력 후 tab 버튼 칠때까진 전과 동일한데, tab 버튼을 치면 기존에는 단어 자동완성 및 검색이 되었지만 현재는 ‘Search Google for ‘nae + 검색어’가 됩니다. ㅠㅠ

  35. 안녕하세요. 해당 워크플로우 잘사용중인데, 네이버 쇼핑의 경우는 자동완성이 안되는것같습니다 ㅠ
    네이버 검색이나, 사전들은 다 정상작동하는데 쇼핑만 안되네용!

    • 앗.. 해결했습니다..
      /usr/bin/env python3 naver_shopping.pyc “{query}” || /usr/bin/python naver_shopping.pyc “{query}”
      라고 되어있네요. .pyc -> .py 로 변경하니까 잘됩니다~

  36. 좋은 자료 감사합니다. 정상 작동 잘 되는데요! 한 가지 궁금한 점이 컴퓨터를 부팅하고 처음 해당 워크플로우를 작동했을 때 몇 초간의 딜레이가 발생하고 자동완성 결과 검색이 가능한데요. 파이썬 3 코드에서 로딩하는 과정이라 어쩔 수 없는 부분인가요?

    • 해당 부분은 아마 ㅠ 초기화 때문에 그런 것 같은데, 면밀한 분석이 필요할 것 같긴 하네요.. ㅠ

      • 이전 2.7버전(?) 이용할 때는 발생하지 않던 문제였는데… 개발자님은 처음 맥 부팅해서 해당 워크플로우 사용하실 때 딜레이 없으신가요!?

  37. 안녕하세요.
    좋은 자료 올려주셔서 편하게 잘 사용하고 있습니다!
    MacOS 12.3으로 업데이트도 했고, python도 다운받았는데 사용이 되지 않습니다.
    제가 무엇을 잘못한 걸까요!?

    • 앗 혹시 새로운 버전 다운로드 받으셨나요? 해당버전에서 python3 가 설치되어있으면 동작가능하게 작업되어 있습니다!

      혹시 안되시면 터미널에서 python3 실행이 되는지 확인 부탁드리겠습니당 🙂

  38. 12.3 업데이트 이후, 파이썬 설치 후에도 작동이 안되는데 상세한 설명 부탁드려도 될까요?
    해외에서 공부 중이라 하루에도 수십 번 사용하는 플로우인데 막혀서 너무 답답합니다 ㅠㅠ
    본업 바쁘시겠지만, 부탁드립니다.

    • 앗 혹시 새로운 버전 다운로드 받으셨나요? 해당버전에서 python3 가 설치되어있으면 동작가능하게 작업되어 있습니다!

      혹시 안되시면 터미널에서 `$ python3` 로 실행이 되는지 확인 부탁드리겠습니당 🙂

      • python은 3.10.4 버전을 사이트 통해서 설치했구요.
        말씀하신 명령어 입력했을 때 $에 대한 커맨드를 찾을 수 없다 하네요.
        그리고 네이버 검색을 진행했을 때 에러 메세지는 “Certificate_verify_failed”입니다.
        다시 한 번 감사드립니다 ㅠㅠ

      • 아 그리고 워크플로우도 새 버젼으로 받았습니다

        • 그러면 커맨드라인에서
          `pip3 install certifi` 설치 후에 다시 시도해주실 수 있으신가요? ㅠ

          • 아아 그래도 안되네요 ㅠㅠ 마음이 아픕니당,,,, 고맙습니다

          • 이걸로 로그를 여기 올려주실 수 있으신가요? 디버깅하는데 도움이 될 것 같습니다. 몇 번 여러개 입력시도하셔서 로그를 좀 모아서 전달 부탁드려요!

          • [22:31:46.974] Naver Search[Script Filter] Queuing argument ‘s’
            [22:31:47.365] Naver Search[Script Filter] Queuing argument ‘su’
            [22:31:47.586] Naver Search[Script Filter] Script with argv ‘(null)’ finished
            [22:31:47.588] ERROR: Naver Search[Script Filter] Code 127: .
            22:31:47 workflow.py:2062 DEBUG ———- Naver Search (0.2.2) ———-
            22:31:47 workflow.py:2081 ERROR
            Traceback (most recent call last):
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1317, in do_open
            encode_chunked=req.has_header(‘Transfer-encoding’))
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1229, in request
            self._send_request(method, url, body, headers, encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1275, in _send_request
            self.endheaders(body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1224, in endheaders
            self._send_output(message_body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1016, in _send_output
            self.send(msg)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 956, in send
            self.connect()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1392, in connect
            server_hostname=server_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 412, in wrap_socket
            session=session
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 853, in _create
            self.do_handshake()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 1117, in do_handshake
            self._sslobj.do_handshake()
            ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 2074, in run
            func(self)
            File “endic_naver_search.py”, line 57, in main
            res_json = wf.cached_data(“en_%s” % args, wrapper, max_age=600)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 1702, in cached_data
            data = data_func()
            File “endic_naver_search.py”, line 55, in wrapper
            return get_dictionary_data(args)
            File “endic_naver_search.py”, line 41, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 595, in get
            stream=stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 583, in request
            return Response(req, stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 238, in __init__
            self.raw = request3.urlopen(request)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
            return opener.open(url, data, timeout)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 525, in open
            response = self._open(req, data)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 543, in _open
            ‘_open’, req)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
            result = func(*args)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1360, in https_open
            context=self._context, check_hostname=self._check_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1319, in do_open
            raise URLError(err)
            urllib.error.URLError:
            22:31:47 workflow.py:2104 DEBUG ———- finished in 0.311s ———-
            /bin/bash: /usr/bin/python: No such file or directory
            [22:31:47.592] Naver Search[Script Filter]
            Error in workflow ‘Naver Search'<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [22:31:47.634] Naver Search[Script Filter] Queuing argument ‘sup’
            [22:31:47.796] Naver Search[Script Filter] Queuing argument ‘supp’
            [22:31:47.951] Naver Search[Script Filter] Queuing argument ‘suppl’
            [22:31:47.965] Naver Search[Script Filter] Script with argv ‘(null)’ finished
            [22:31:47.966] ERROR: Naver Search[Script Filter] Code 127: .
            22:31:47 workflow.py:2062 DEBUG ———- Naver Search (0.2.2) ———-
            22:31:47 workflow.py:2081 ERROR
            Traceback (most recent call last):
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1317, in do_open
            encode_chunked=req.has_header(‘Transfer-encoding’))
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1229, in request
            self._send_request(method, url, body, headers, encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1275, in _send_request
            self.endheaders(body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1224, in endheaders
            self._send_output(message_body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1016, in _send_output
            self.send(msg)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 956, in send
            self.connect()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1392, in connect
            server_hostname=server_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 412, in wrap_socket
            session=session
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 853, in _create
            self.do_handshake()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 1117, in do_handshake
            self._sslobj.do_handshake()
            ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 2074, in run
            func(self)
            File “endic_naver_search.py”, line 57, in main
            res_json = wf.cached_data(“en_%s” % args, wrapper, max_age=600)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 1702, in cached_data
            data = data_func()
            File “endic_naver_search.py”, line 55, in wrapper
            return get_dictionary_data(args)
            File “endic_naver_search.py”, line 41, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 595, in get
            stream=stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 583, in request
            return Response(req, stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 238, in __init__
            self.raw = request3.urlopen(request)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
            return opener.open(url, data, timeout)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 525, in open
            response = self._open(req, data)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 543, in _open
            ‘_open’, req)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
            result = func(*args)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1360, in https_open
            context=self._context, check_hostname=self._check_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1319, in do_open
            raise URLError(err)
            urllib.error.URLError:
            22:31:47 workflow.py:2104 DEBUG ———- finished in 0.123s ———-
            /bin/bash: /usr/bin/python: No such file or directory
            [22:31:47.970] Naver Search[Script Filter]
            Error in workflow ‘Naver Search'<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [22:31:48.058] Naver Search[Script Filter] Queuing argument ‘supply’
            [22:31:48.357] Naver Search[Script Filter] Script with argv ‘(null)’ finished
            [22:31:48.361] ERROR: Naver Search[Script Filter] Code 127: .
            22:31:48 workflow.py:2062 DEBUG ———- Naver Search (0.2.2) ———-
            22:31:48 workflow.py:2081 ERROR
            Traceback (most recent call last):
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1317, in do_open
            encode_chunked=req.has_header(‘Transfer-encoding’))
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1229, in request
            self._send_request(method, url, body, headers, encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1275, in _send_request
            self.endheaders(body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1224, in endheaders
            self._send_output(message_body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1016, in _send_output
            self.send(msg)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 956, in send
            self.connect()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1392, in connect
            server_hostname=server_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 412, in wrap_socket
            session=session
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 853, in _create
            self.do_handshake()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 1117, in do_handshake
            self._sslobj.do_handshake()
            ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 2074, in run
            func(self)
            File “endic_naver_search.py”, line 57, in main
            res_json = wf.cached_data(“en_%s” % args, wrapper, max_age=600)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 1702, in cached_data
            data = data_func()
            File “endic_naver_search.py”, line 55, in wrapper
            return get_dictionary_data(args)
            File “endic_naver_search.py”, line 41, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 595, in get
            stream=stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 583, in request
            return Response(req, stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 238, in __init__
            self.raw = request3.urlopen(request)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
            return opener.open(url, data, timeout)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 525, in open
            response = self._open(req, data)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 543, in _open
            ‘_open’, req)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
            result = func(*args)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1360, in https_open
            context=self._context, check_hostname=self._check_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1319, in do_open
            raise URLError(err)
            urllib.error.URLError:
            22:31:48 workflow.py:2104 DEBUG ———- finished in 0.095s ———-
            /bin/bash: /usr/bin/python: No such file or directory
            [22:31:48.364] Naver Search[Script Filter]
            Error in workflow ‘Naver Search'<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [22:31:48.731] Naver Search[Script Filter] Script with argv ‘(null)’ finished
            [22:31:48.736] ERROR: Naver Search[Script Filter] Code 127: .
            22:31:48 workflow.py:2062 DEBUG ———- Naver Search (0.2.2) ———-
            22:31:48 workflow.py:2081 ERROR
            Traceback (most recent call last):
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1317, in do_open
            encode_chunked=req.has_header(‘Transfer-encoding’))
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1229, in request
            self._send_request(method, url, body, headers, encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1275, in _send_request
            self.endheaders(body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1224, in endheaders
            self._send_output(message_body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1016, in _send_output
            self.send(msg)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 956, in send
            self.connect()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1392, in connect
            server_hostname=server_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 412, in wrap_socket
            session=session
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 853, in _create
            self.do_handshake()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 1117, in do_handshake
            self._sslobj.do_handshake()
            ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 2074, in run
            func(self)
            File “endic_naver_search.py”, line 57, in main
            res_json = wf.cached_data(“en_%s” % args, wrapper, max_age=600)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 1702, in cached_data
            data = data_func()
            File “endic_naver_search.py”, line 55, in wrapper
            return get_dictionary_data(args)
            File “endic_naver_search.py”, line 41, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 595, in get
            stream=stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 583, in request
            return Response(req, stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 238, in __init__
            self.raw = request3.urlopen(request)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
            return opener.open(url, data, timeout)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 525, in open
            response = self._open(req, data)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 543, in _open
            ‘_open’, req)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
            result = func(*args)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1360, in https_open
            context=self._context, check_hostname=self._check_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1319, in do_open
            raise URLError(err)
            urllib.error.URLError:
            22:31:48 workflow.py:2104 DEBUG ———- finished in 0.084s ———-
            /bin/bash: /usr/bin/python: No such file or directory
            [22:31:48.739] Naver Search[Script Filter]
            Error in workflow ‘Naver Search'<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns

          • [22:32:51.332] Naver Search[Script Filter] Queuing argument ‘m’
            [22:32:51.528] Naver Search[Script Filter] Queuing argument ‘ma’
            [22:32:51.679] Naver Search[Script Filter] Queuing argument ‘man’
            [22:32:51.741] Naver Search[Script Filter] Script with argv ‘(null)’ finished
            [22:32:51.744] ERROR: Naver Search[Script Filter] Code 127: .
            22:32:51 workflow.py:2062 DEBUG ———- Naver Search (0.2.2) ———-
            22:32:51 workflow.py:2081 ERROR
            Traceback (most recent call last):
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1317, in do_open
            encode_chunked=req.has_header(‘Transfer-encoding’))
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1229, in request
            self._send_request(method, url, body, headers, encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1275, in _send_request
            self.endheaders(body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1224, in endheaders
            self._send_output(message_body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1016, in _send_output
            self.send(msg)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 956, in send
            self.connect()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1392, in connect
            server_hostname=server_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 412, in wrap_socket
            session=session
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 853, in _create
            self.do_handshake()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 1117, in do_handshake
            self._sslobj.do_handshake()
            ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 2074, in run
            func(self)
            File “endic_naver_search.py”, line 57, in main
            res_json = wf.cached_data(“en_%s” % args, wrapper, max_age=600)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 1702, in cached_data
            data = data_func()
            File “endic_naver_search.py”, line 55, in wrapper
            return get_dictionary_data(args)
            File “endic_naver_search.py”, line 41, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 595, in get
            stream=stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 583, in request
            return Response(req, stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 238, in __init__
            self.raw = request3.urlopen(request)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
            return opener.open(url, data, timeout)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 525, in open
            response = self._open(req, data)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 543, in _open
            ‘_open’, req)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
            result = func(*args)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1360, in https_open
            context=self._context, check_hostname=self._check_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1319, in do_open
            raise URLError(err)
            urllib.error.URLError:
            22:32:51 workflow.py:2104 DEBUG ———- finished in 0.108s ———-
            /bin/bash: /usr/bin/python: No such file or directory
            [22:32:51.748] Naver Search[Script Filter]
            Error in workflow ‘Naver Search'<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [22:32:51.938] Naver Search[Script Filter] Queuing argument ‘manu’
            [22:32:52.127] Naver Search[Script Filter] Script with argv ‘(null)’ finished
            [22:32:52.130] ERROR: Naver Search[Script Filter] Code 127: .
            22:32:51 workflow.py:2062 DEBUG ———- Naver Search (0.2.2) ———-
            22:32:52 workflow.py:2081 ERROR
            Traceback (most recent call last):
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1317, in do_open
            encode_chunked=req.has_header(‘Transfer-encoding’))
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1229, in request
            self._send_request(method, url, body, headers, encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1275, in _send_request
            self.endheaders(body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1224, in endheaders
            self._send_output(message_body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1016, in _send_output
            self.send(msg)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 956, in send
            self.connect()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1392, in connect
            server_hostname=server_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 412, in wrap_socket
            session=session
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 853, in _create
            self.do_handshake()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 1117, in do_handshake
            self._sslobj.do_handshake()
            ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 2074, in run
            func(self)
            File “endic_naver_search.py”, line 57, in main
            res_json = wf.cached_data(“en_%s” % args, wrapper, max_age=600)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 1702, in cached_data
            data = data_func()
            File “endic_naver_search.py”, line 55, in wrapper
            return get_dictionary_data(args)
            File “endic_naver_search.py”, line 41, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 595, in get
            stream=stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 583, in request
            return Response(req, stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 238, in __init__
            self.raw = request3.urlopen(request)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
            return opener.open(url, data, timeout)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 525, in open
            response = self._open(req, data)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 543, in _open
            ‘_open’, req)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
            result = func(*args)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1360, in https_open
            context=self._context, check_hostname=self._check_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1319, in do_open
            raise URLError(err)
            urllib.error.URLError:
            22:32:52 workflow.py:2104 DEBUG ———- finished in 0.084s ———-
            /bin/bash: /usr/bin/python: No such file or directory
            [22:32:52.134] Naver Search[Script Filter]
            Error in workflow ‘Naver Search'<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [22:32:52.186] Naver Search[Script Filter] Queuing argument ‘manuf’
            [22:32:52.354] Naver Search[Script Filter] Queuing argument ‘manufa’
            [22:32:52.539] Naver Search[Script Filter] Queuing argument ‘manufac’
            [22:32:52.594] Naver Search[Script Filter] Script with argv ‘(null)’ finished
            [22:32:52.599] ERROR: Naver Search[Script Filter] Code 127: .
            22:32:52 workflow.py:2062 DEBUG ———- Naver Search (0.2.2) ———-
            22:32:52 workflow.py:2081 ERROR
            Traceback (most recent call last):
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1317, in do_open
            encode_chunked=req.has_header(‘Transfer-encoding’))
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1229, in request
            self._send_request(method, url, body, headers, encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1275, in _send_request
            self.endheaders(body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1224, in endheaders
            self._send_output(message_body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1016, in _send_output
            self.send(msg)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 956, in send
            self.connect()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1392, in connect
            server_hostname=server_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 412, in wrap_socket
            session=session
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 853, in _create
            self.do_handshake()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 1117, in do_handshake
            self._sslobj.do_handshake()
            ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 2074, in run
            func(self)
            File “endic_naver_search.py”, line 57, in main
            res_json = wf.cached_data(“en_%s” % args, wrapper, max_age=600)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 1702, in cached_data
            data = data_func()
            File “endic_naver_search.py”, line 55, in wrapper
            return get_dictionary_data(args)
            File “endic_naver_search.py”, line 41, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 595, in get
            stream=stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 583, in request
            return Response(req, stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 238, in __init__
            self.raw = request3.urlopen(request)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
            return opener.open(url, data, timeout)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 525, in open
            response = self._open(req, data)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 543, in _open
            ‘_open’, req)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
            result = func(*args)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1360, in https_open
            context=self._context, check_hostname=self._check_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1319, in do_open
            raise URLError(err)
            urllib.error.URLError:
            22:32:52 workflow.py:2104 DEBUG ———- finished in 0.162s ———-
            /bin/bash: /usr/bin/python: No such file or directory
            [22:32:52.605] Naver Search[Script Filter]
            Error in workflow ‘Naver Search'<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [22:32:52.931] Naver Search[Script Filter] Queuing argument ‘manufact’
            [22:32:52.974] Naver Search[Script Filter] Script with argv ‘(null)’ finished
            [22:32:52.978] ERROR: Naver Search[Script Filter] Code 127: .
            22:32:52 workflow.py:2062 DEBUG ———- Naver Search (0.2.2) ———-
            22:32:52 workflow.py:2081 ERROR
            Traceback (most recent call last):
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1317, in do_open
            encode_chunked=req.has_header(‘Transfer-encoding’))
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1229, in request
            self._send_request(method, url, body, headers, encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1275, in _send_request
            self.endheaders(body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1224, in endheaders
            self._send_output(message_body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1016, in _send_output
            self.send(msg)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 956, in send
            self.connect()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1392, in connect
            server_hostname=server_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 412, in wrap_socket
            session=session
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 853, in _create
            self.do_handshake()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 1117, in do_handshake
            self._sslobj.do_handshake()
            ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 2074, in run
            func(self)
            File “endic_naver_search.py”, line 57, in main
            res_json = wf.cached_data(“en_%s” % args, wrapper, max_age=600)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 1702, in cached_data
            data = data_func()
            File “endic_naver_search.py”, line 55, in wrapper
            return get_dictionary_data(args)
            File “endic_naver_search.py”, line 41, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 595, in get
            stream=stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 583, in request
            return Response(req, stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 238, in __init__
            self.raw = request3.urlopen(request)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
            return opener.open(url, data, timeout)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 525, in open
            response = self._open(req, data)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 543, in _open
            ‘_open’, req)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
            result = func(*args)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1360, in https_open
            context=self._context, check_hostname=self._check_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1319, in do_open
            raise URLError(err)
            urllib.error.URLError:
            22:32:52 workflow.py:2104 DEBUG ———- finished in 0.080s ———-
            /bin/bash: /usr/bin/python: No such file or directory
            [22:32:52.981] Naver Search[Script Filter]
            Error in workflow ‘Naver Search'<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [22:32:53.036] Naver Search[Script Filter] Queuing argument ‘manufactu’
            [22:32:53.269] Naver Search[Script Filter] Queuing argument ‘manufactur’
            [22:32:53.276] Naver Search[Script Filter] Script with argv ‘(null)’ finished
            [22:32:53.277] ERROR: Naver Search[Script Filter] Code 127: .
            22:32:53 workflow.py:2062 DEBUG ———- Naver Search (0.2.2) ———-
            22:32:53 workflow.py:2081 ERROR
            Traceback (most recent call last):
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1317, in do_open
            encode_chunked=req.has_header(‘Transfer-encoding’))
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1229, in request
            self._send_request(method, url, body, headers, encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1275, in _send_request
            self.endheaders(body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1224, in endheaders
            self._send_output(message_body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1016, in _send_output
            self.send(msg)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 956, in send
            self.connect()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1392, in connect
            server_hostname=server_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 412, in wrap_socket
            session=session
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 853, in _create
            self.do_handshake()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 1117, in do_handshake
            self._sslobj.do_handshake()
            ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 2074, in run
            func(self)
            File “endic_naver_search.py”, line 57, in main
            res_json = wf.cached_data(“en_%s” % args, wrapper, max_age=600)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 1702, in cached_data
            data = data_func()
            File “endic_naver_search.py”, line 55, in wrapper
            return get_dictionary_data(args)
            File “endic_naver_search.py”, line 41, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 595, in get
            stream=stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 583, in request
            return Response(req, stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 238, in __init__
            self.raw = request3.urlopen(request)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
            return opener.open(url, data, timeout)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 525, in open
            response = self._open(req, data)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 543, in _open
            ‘_open’, req)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
            result = func(*args)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1360, in https_open
            context=self._context, check_hostname=self._check_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1319, in do_open
            raise URLError(err)
            urllib.error.URLError:
            22:32:53 workflow.py:2104 DEBUG ———- finished in 0.071s ———-
            /bin/bash: /usr/bin/python: No such file or directory
            [22:32:53.281] Naver Search[Script Filter]
            Error in workflow ‘Naver Search'<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [22:32:53.308] Naver Search[Script Filter] Queuing argument ‘manufacture’
            [22:32:53.697] Naver Search[Script Filter] Script with argv ‘(null)’ finished
            [22:32:53.704] ERROR: Naver Search[Script Filter] Code 127: .
            22:32:53 workflow.py:2062 DEBUG ———- Naver Search (0.2.2) ———-
            22:32:53 workflow.py:2081 ERROR
            Traceback (most recent call last):
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1317, in do_open
            encode_chunked=req.has_header(‘Transfer-encoding’))
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1229, in request
            self._send_request(method, url, body, headers, encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1275, in _send_request
            self.endheaders(body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1224, in endheaders
            self._send_output(message_body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1016, in _send_output
            self.send(msg)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 956, in send
            self.connect()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1392, in connect
            server_hostname=server_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 412, in wrap_socket
            session=session
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 853, in _create
            self.do_handshake()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 1117, in do_handshake
            self._sslobj.do_handshake()
            ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 2074, in run
            func(self)
            File “endic_naver_search.py”, line 57, in main
            res_json = wf.cached_data(“en_%s” % args, wrapper, max_age=600)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 1702, in cached_data
            data = data_func()
            File “endic_naver_search.py”, line 55, in wrapper
            return get_dictionary_data(args)
            File “endic_naver_search.py”, line 41, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 595, in get
            stream=stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 583, in request
            return Response(req, stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 238, in __init__
            self.raw = request3.urlopen(request)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
            return opener.open(url, data, timeout)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 525, in open
            response = self._open(req, data)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 543, in _open
            ‘_open’, req)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
            result = func(*args)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1360, in https_open
            context=self._context, check_hostname=self._check_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1319, in do_open
            raise URLError(err)
            urllib.error.URLError:
            22:32:53 workflow.py:2104 DEBUG ———- finished in 0.124s ———-
            /bin/bash: /usr/bin/python: No such file or directory
            [22:32:53.707] Naver Search[Script Filter]
            Error in workflow ‘Naver Search'<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [22:32:54.061] Naver Search[Script Filter] Script with argv ‘(null)’ finished
            [22:32:54.067] ERROR: Naver Search[Script Filter] Code 127: .
            22:32:53 workflow.py:2062 DEBUG ———- Naver Search (0.2.2) ———-
            22:32:53 workflow.py:2081 ERROR
            Traceback (most recent call last):
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1317, in do_open
            encode_chunked=req.has_header(‘Transfer-encoding’))
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1229, in request
            self._send_request(method, url, body, headers, encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1275, in _send_request
            self.endheaders(body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1224, in endheaders
            self._send_output(message_body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1016, in _send_output
            self.send(msg)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 956, in send
            self.connect()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1392, in connect
            server_hostname=server_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 412, in wrap_socket
            session=session
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 853, in _create
            self.do_handshake()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 1117, in do_handshake
            self._sslobj.do_handshake()
            ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 2074, in run
            func(self)
            File “endic_naver_search.py”, line 57, in main
            res_json = wf.cached_data(“en_%s” % args, wrapper, max_age=600)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 1702, in cached_data
            data = data_func()
            File “endic_naver_search.py”, line 55, in wrapper
            return get_dictionary_data(args)
            File “endic_naver_search.py”, line 41, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 595, in get
            stream=stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 583, in request
            return Response(req, stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 238, in __init__
            self.raw = request3.urlopen(request)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
            return opener.open(url, data, timeout)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 525, in open
            response = self._open(req, data)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 543, in _open
            ‘_open’, req)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
            result = func(*args)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1360, in https_open
            context=self._context, check_hostname=self._check_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1319, in do_open
            raise URLError(err)
            urllib.error.URLError:
            22:32:53 workflow.py:2104 DEBUG ———- finished in 0.077s ———-
            /bin/bash: /usr/bin/python: No such file or directory
            [22:32:54.070] Naver Search[Script Filter]
            Error in workflow ‘Naver Search'<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns

          • [22:29:51.819] Logging Started…
            [22:30:01.941] Naver Search[Script Filter] Queuing argument ‘p’
            [22:30:02.038] Naver Search[Script Filter] Queuing argument ‘pr’
            [22:30:02.258] Naver Search[Script Filter] Queuing argument ‘pre’
            [22:30:03.118] Naver Search[Script Filter] Script with argv ‘(null)’ finished
            [22:30:03.121] ERROR: Naver Search[Script Filter] Code 127: .
            22:30:02 workflow.py:2062 DEBUG ———- Naver Search (0.2.2) ———-
            22:30:03 workflow.py:2081 ERROR
            Traceback (most recent call last):
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1317, in do_open
            encode_chunked=req.has_header(‘Transfer-encoding’))
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1229, in request
            self._send_request(method, url, body, headers, encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1275, in _send_request
            self.endheaders(body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1224, in endheaders
            self._send_output(message_body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1016, in _send_output
            self.send(msg)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 956, in send
            self.connect()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1392, in connect
            server_hostname=server_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 412, in wrap_socket
            session=session
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 853, in _create
            self.do_handshake()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 1117, in do_handshake
            self._sslobj.do_handshake()
            ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 2074, in run
            func(self)
            File “endic_naver_search.py”, line 57, in main
            res_json = wf.cached_data(“en_%s” % args, wrapper, max_age=600)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 1702, in cached_data
            data = data_func()
            File “endic_naver_search.py”, line 55, in wrapper
            return get_dictionary_data(args)
            File “endic_naver_search.py”, line 41, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 595, in get
            stream=stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 583, in request
            return Response(req, stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 238, in __init__
            self.raw = request3.urlopen(request)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
            return opener.open(url, data, timeout)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 525, in open
            response = self._open(req, data)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 543, in _open
            ‘_open’, req)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
            result = func(*args)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1360, in https_open
            context=self._context, check_hostname=self._check_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1319, in do_open
            raise URLError(err)
            urllib.error.URLError:
            22:30:03 workflow.py:2104 DEBUG ———- finished in 0.625s ———-
            /bin/bash: /usr/bin/python: No such file or directory
            [22:30:03.126] Naver Search[Script Filter]
            Error in workflow ‘Naver Search'<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
            [22:30:03.551] Naver Search[Script Filter] Script with argv ‘(null)’ finished
            [22:30:03.554] ERROR: Naver Search[Script Filter] Code 127: .
            22:30:03 workflow.py:2062 DEBUG ———- Naver Search (0.2.2) ———-
            22:30:03 workflow.py:2081 ERROR
            Traceback (most recent call last):
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1317, in do_open
            encode_chunked=req.has_header(‘Transfer-encoding’))
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1229, in request
            self._send_request(method, url, body, headers, encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1275, in _send_request
            self.endheaders(body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1224, in endheaders
            self._send_output(message_body, encode_chunked=encode_chunked)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1016, in _send_output
            self.send(msg)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 956, in send
            self.connect()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py”, line 1392, in connect
            server_hostname=server_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 412, in wrap_socket
            session=session
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 853, in _create
            self.do_handshake()
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py”, line 1117, in do_handshake
            self._sslobj.do_handshake()
            ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 2074, in run
            func(self)
            File “endic_naver_search.py”, line 57, in main
            res_json = wf.cached_data(“en_%s” % args, wrapper, max_age=600)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/workflow.py”, line 1702, in cached_data
            data = data_func()
            File “endic_naver_search.py”, line 55, in wrapper
            return get_dictionary_data(args)
            File “endic_naver_search.py”, line 41, in get_dictionary_data
            r = web.get(url, params)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 595, in get
            stream=stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 583, in request
            return Response(req, stream)
            File “/Users/sangyoonkim/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.10489F74-7863-4202-B19F-681E610EC246/workflow3/web.py”, line 238, in __init__
            self.raw = request3.urlopen(request)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
            return opener.open(url, data, timeout)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 525, in open
            response = self._open(req, data)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 543, in _open
            ‘_open’, req)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
            result = func(*args)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1360, in https_open
            context=self._context, check_hostname=self._check_hostname)
            File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”, line 1319, in do_open
            raise URLError(err)
            urllib.error.URLError:
            22:30:03 workflow.py:2104 DEBUG ———- finished in 0.148s ———-
            /bin/bash: /usr/bin/python: No such file or directory
            [22:30:03.558] Naver Search[Script Filter]
            Error in workflow ‘Naver Search'<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns

        • v0.2.3 으로 ssl인증서 관련해서 업데이트 했는데, 다운로드 후에 다시 확인 가능하실까요? ㅠ

          • 네이버 검색은 되는데 영어 사전은 아직 안 되네요 ㅠㅠ 뭐가 문젠지 ㅠㅠ 저때매 귀찮게 죄송합니다

          • 최근에 영문 ac url이 변경된듯하여 반영해서 올려놨습니다. 번거롭지 않으시면 한번더 업데이트부탁드려요 0.2.4입니다.

          • 시도 해봤는데 안 되네요 ㅜㅜ 혹시 제 컴퓨터의 문제일까요?

          • 음.. 영어사전 기능만 안되시는걸까요?
            느낌상 사전 기능은 전부 안되어야할 것 같은데 말이죠 ㅠ

            그 이외에 네이버검색과, 쇼핑기능은 되시는거지요?

            그렇다고 한다면, 네이버의 설정 문제일 가능성이 높은데, 그쪽을 바꾸라고 하는 것은 무리이기 때문에 아래의 방법을 적용해 볼 수 있겠습니다.

            일단 스택오버플로우에 따르면, python 설치 디렉토리에 있는 `install_certificates.command` 를 실행해보라고 되어있기는 합니다..; brew 로 python을 설치하지 않아서 해당 명령어가 자동 실행이 안된 것일지도 모를 것 같은데; 모든 것을 확인하기에는 제가 어려움이 있어서요 ㅠ
            https://stackoverflow.com/questions/27835619/urllib-and-ssl-certificate-verify-failed-error

            마지막으로 해결방법은 인증서를 해당 명령어만 확인하지 않는 방향으로 하는 수 밖에 없을 것 같습니다… orz 위의 방법으로도 해결이 안되면 해당 부분은 적용해서 나중에 올려놓도록 하겠습니다.

  39. 안녕하세요, 해당 워크플로우로 너무 편리하게 사용하고 있습니다. 정말 감사합니다!

    혹시, 자동검색 결과를 클립보드로 복사할 수 있는 방법이 있을까요?

    예를 들어 영어 사전에서 hello를 검색했을 때, [안녕], [안녕하세요] 라는 결과가 나오면 그걸 클립보드로 복사하고 싶은데요.

    전공자가 아니지만 이것저것 두드려 봐서 알프레드 action에서 Copy to Clipboard 를 만들어봤는데 {query}만 복사가 되고, 아무리 해봐도 검색결과는 복사가 되지 않네요 ㅠㅠ

    혹시 이 부분 해결할 수 있는 방법을 알려주실 수 있다면 정말 감사하겠습니다!

    • 안녕하세요, 해당 부분 반영해서 최신버전 v0.2.5 로 업로드해두었습니다 ~

      선택 후 cmd+c 를 하시면 클립보드로 복사가 됩니다.

  40. 안녕하세요. 몇년째 너무너무나 잘 쓰고 있습니다. 평소에 nae를 입력하고 스페이스 뒤 궁금한 영어단어를 넣어 자동완성되는 뜻들을 바로 확인하고 알프레드를 끄고 다시 문서작업을 했는데 오늘부터는 왜인지 모르겠으나 nae입력 뒤 영어를 입력하면 nae 작업명령어가 아닌 명령어 없이 그냥 입력되는 것과 같이 기본 서치인 구글 아마존 위키 검색으로 바뀌네요. nae 입력까지만 해도 아이콘도 잘뜨고 다 잘되는 것 같은데 스페이스 이후 영어를 입력하자마자 사라져요,,,ㅠ

    • 앗 혹시 맥os최신버전 업로드를 하셨을까요?

      새로올라간 버전 사용 및 python 설치여부 체크 부탁드립니다 🙂

  41. 헐 위에분 저도 그랬는데 알프레드에서 디버깅 로그 떠보니까 이렇게 나오더라구요 저는
    [12:16:26.684] Logging Started…
    [12:16:33.898] Naver Search[Script Filter] Queuing argument ‘h’
    [12:16:33.910] Naver Search[Script Filter] Script with argv ‘(null)’ finished
    [12:16:33.911] ERROR: Naver Search[Script Filter] Code 127: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
    /bin/bash: /usr/bin/python: No such file or directory
    [12:16:33.947] Naver Search[Script Filter] Queuing argument ‘he’
    [12:16:33.951] Naver Search[Script Filter] Script with argv ‘(null)’ finished
    [12:16:33.952] ERROR: Naver Search[Script Filter] Code 127: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
    /bin/bash: /usr/bin/python: No such file or directory

    검색해보니까 xcode-select –install << 이거 설치하라고 해서 터미널에 입력하고 설치한 후에 맥 재부팅 하니까 잘 돌아가네요…

  42. ㅠㅠ 말씀 듣고 바로 해봤는데 저는 다른 것이 원인인가 봅니다

  43. 안녕하세요. 네이버 알프레드 워크플로우를 자주 사용하는 신입 개발자입니다.! 회사에서 새로 받은 맥북(M1 / 12.4 Monterey)으로 세팅하니까 처음에는 위의 분들처럼 nae치고 원하는단어 작성하면 naver 검색 대신 구글 검색만 나왔는데, 터미널으로 python3를 설치하고 작성자님 깃허브 에서 새로 다운로드하고 실행하니까 정상적으로 실행되네요!! 좋은 product 만들어주셔서 감사합니다. 오늘도 좋은 하루 되세요!

  44. 진짜 너무 잘쓰고있습니다 변화있을때마다 대응하는게 쉽지않으실텐데 너무 감사합니다
    커피쏘기 버튼같은거 노출해 놓으시면 쏴드리고 싶네요
    감사히 잘 쓰겠습니다

  45. 안녕하세요 하루에도 수십번씩 잘 사용하고 있습니다!

    제가 xcode14 업데이트 이후에 맞지않아 삭제하고 xcode13을 재설치하고 나서 부터 nae 입력하고 단어 입력하면 아래에 자동완성들이 출력이 안됩니다

    위에 댓글들 보고 파이썬3 설치여부도 확인했고

    xcode-select –install 명령어 실행하면

    xcode-select: error: command line tools are already installed, use “Software Update” to install updates

    라고 이미 설치 된거같은데 혹시 어떤 부분이 문제인지 알수있을까요??

    • 알프레드를4에서 5로 업데이트하니깐 잘 되네요!! 감사합니다 ㅜㅜ 너무 잘 쓰고 있어요

  46. 안녕하세요. 정말로 좋은 워크플로우 만들어 주셔서 감사드립니다.

    오늘 벤츄라로 업데이트 이후 네이버 사전 검색이 되지 않아 문의드립니다. 네이버 검색 빼고 나머지가 다 안되는 것 같습니다. 확인 해주시면 정말로 감사드리겠습니다

  47. 저도 위에 분과 동일하게 네이버 기본 검색 이외에 모든 검색이 되질 않습니다.
    확인해 주실 수 있나요??

  48. 갑자기 해당 워크플로우 작동이 되지 않네요.
    https://github.com/ssut/py-hanspell/issues/38

  49. SSL: CERTIFICATE_VERIFY_FAILED 에러가 나는경우 저는..

    https://stackoverflow.com/questions/27835619/urllib-and-ssl-certificate-verify-failed-error
    글에서

    cd “/Applications/Python 3.6/”
    sudo “./Install Certificates.command”

    부분으로 해결했습니다. 정확히는 앞서 pip install certifi 도 하긴했습니다. 고맙습니다.

    • 아 참고로 3.6 버전은 아니었습니다. 그냥 자신의 맥에 설치되어있는 버전(전 저것보다 상위버전이었습니다) 에 맞게 들어가셔서 실행하면됩니다. Pyth 까지 적고 자동완성하시면 됩니다.

  50. 예전부터 공유해주신 워크플로우로 알프레드를 잘 쓰고 있어 감사인사드립니다!

    잘 쓰고 있다가 소노마 업데이트 이후 기능이 작동되지 않았는데 아래 방법으로 해결했습니다 ㅎㅎ
    (저는 컴퓨터 언어를 잘 몰라서.. 깃허브에 올려주신 설명을 chatGPT에게 물어보면서 해결했네요ㅋㅋ 혹시 다른 분 설치하실 때 도움될까해서 글 남겨요)
    1. v0.3.0(오늘기준 가장최신버전) ➔ 깃허브에서 받기
    2. 파이썬, 홈브루 ➔ 인터넷 검색해서 받기
    3. 맥에서 터미널 실행 후 xcode-select –install 입력 ➔ 자동으로 어떤 프로그램이 받아짐
    4. 워크플로우 실행시켜보기 ➔ 성공🎉

  51. 네이버 맵이 작동이 안되네요.. internal sever error가 납니다!

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.