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

[Feat] 뉴스 기사 api 구현 (#28) #32

Merged
merged 19 commits into from
Jan 24, 2025
Merged

[Feat] 뉴스 기사 api 구현 (#28) #32

merged 19 commits into from
Jan 24, 2025

Conversation

chanmin-00
Copy link
Member

#️⃣연관된 이슈

Close #28

📝작업 내용

이번 PR에서 작업한 내용을 간략히 설명해주세요(이미지 첨부 가능)

뉴스 기사 목록 조회 및 상세 조회

  • Page Size 10만큼의 페이징 적용 및 Querydsl 적용
  • 뉴스 카테고리 및 정렬 순에 따른 조회
  • 뉴스 id, 뉴스 제목, 요약 내용, url, 조회수, 작성 시간 반환
image

뉴스 기사 데이터 크롤링

  • jsoup를 활용한 뉴스 데이터 크롤링 + 스케줄러를 적용한 주기적 작업 적용
  • 각 카테고리별 url을 찾아가서 주기적으로 크롤링하는 방법 적용(경기 분석과 경제 정책 카테고리는 찾지 못해서 나중에 변경 필요)
  • 현재 코드는 하루 단위로 크롤링하는데, 데모데이 시에는 짧은 간격으로 스케줄링 필요

뉴스 기사 스크랩 및 취소

image image

💬리뷰 요구사항(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

@chanmin-00 chanmin-00 added the ✨ Feat 새로운 기능 추가 label Jan 24, 2025
@chanmin-00 chanmin-00 self-assigned this Jan 24, 2025
@chanmin-00 chanmin-00 added this to the #3 - 경제기사 milestone Jan 24, 2025
Copy link
Member

@chaen-ing chaen-ing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

크롤링 추상클래스로 구현한거 좋네요!! 수고하셨습니다!!~👍👍

@chanmin-00 chanmin-00 merged commit 97c0681 into develop Jan 24, 2025
@chanmin-00 chanmin-00 changed the title [Feat] 뉴스 기사 api 구현 [Feat] 뉴스 기사 api 구현 (#28) Jan 25, 2025
@chanmin-00 chanmin-00 deleted the feat/news-#28 branch January 28, 2025 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feat 새로운 기능 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] 경제 기사 기능을 구현한다.
2 participants