1) 네이버 뉴스 크롤러 장고 페이지 만들기: home.html, result.html 두 개로 이루어진 프로젝트 파일을 만들고 home.html에서 input으로 검색하고자 하는 키워드를 입력하면 그에 대한 뉴스 기사 제목을 크롤링해오는 과제. result.html에 해당 키워드의 뉴스 기사 제목이 나열되고 기사 제목을 클릭할 시 기사의 페이지로 넘어가게 해주시면 됩니다. 부트스트랩을 통해 간단히 시각화해보는 것을 추천합니다.
!참고자료
(1) 네이버 뉴스 페이지 url: https://search.naver.com/search.naver?where=news&sm=tab_jum&query=
(2) 아래의 사진자료 1.home.html과 2.result.html
2) 네이버 실시간 검색 순위 기록 만들기: 아래의 그림의 네이버 실시간 검색 순위를 크롤링 해오는 과제입니다. 해당 데이터에 접근하는 방법 중 css_selector를 통한 접근(nth:child 개념)을 적용해보는 것을 추천드립니다. 해당 css_selector에 복사하는 방법은 개발자 도구에서 해당 html에서 마우스 오른쪽 버튼을 누르고 'Copy' > 'copy selector' 를 누르시면 복사가능합니다.
!참고자료
(1) 네이버 url: https://www.naver.com
(2) 아래의 사진자료 3.네이버 검색 순위 기록
5/20 크롤링 과제
1) 네이버 뉴스 크롤러 장고 페이지 만들기: home.html, result.html 두 개로 이루어진 프로젝트 파일을 만들고 home.html에서 input으로 검색하고자 하는 키워드를 입력하면 그에 대한 뉴스 기사 제목을 크롤링해오는 과제. result.html에 해당 키워드의 뉴스 기사 제목이 나열되고 기사 제목을 클릭할 시 기사의 페이지로 넘어가게 해주시면 됩니다. 부트스트랩을 통해 간단히 시각화해보는 것을 추천합니다. !참고자료 (1) 네이버 뉴스 페이지 url: https://search.naver.com/search.naver?where=news&sm=tab_jum&query= (2) 아래의 사진자료 1.home.html과 2.result.html
2) 네이버 실시간 검색 순위 기록 만들기: 아래의 그림의 네이버 실시간 검색 순위를 크롤링 해오는 과제입니다. 해당 데이터에 접근하는 방법 중 css_selector를 통한 접근(nth:child 개념)을 적용해보는 것을 추천드립니다. 해당 css_selector에 복사하는 방법은 개발자 도구에서 해당 html에서 마우스 오른쪽 버튼을 누르고 'Copy' > 'copy selector' 를 누르시면 복사가능합니다. !참고자료 (1) 네이버 url: https://www.naver.com (2) 아래의 사진자료 3.네이버 검색 순위 기록
<사진자료> 1.home.html
2.result.html(손흥민을 입력한 화면)
3.네이버 순위 기록