Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

새로 추가된 passportKey 파라미터에 대한 코드 수정 #42

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

belowyoon
Copy link

추가된 passportKey라는 파라미터에 대해서 코드 수정했습니다.

처음 1회 때 1시간 동안 유효한 캐시에 네이버 맞춤법 검사 페이지로 부터 passportKey 값을 파싱하여 가져와 저장하고 쓰는 방식입니다.
캐시에 저장된 passportKey 값이 유효하지 않은 경우에 다시 passportKey를 update 합니다.

tests.py로 정상 작동 확인했습니다.
코드 확인해 주시면 감사하겠습니다!

token.txt 저장 -> cache 저장으로 변경
캐시 한번만 update 되는 것 확인
저장된 passportKey가 만료되어 에러가 발생 했을 때 예외처리
@belowyoon belowyoon changed the title Develop 새로 추가된 passportKey 파라미터에 대한 코드 수정 Oct 19, 2023
@LearningnRunning
Copy link

TOKEN을 얻어오는 방법이 있었군요..! 배웠습니다!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants