강의

멘토링

커뮤니티

Inflearn Community Q&A

yooooon's profile image
yooooon

asked

Development of a real-time trend homepage (Python crawling + Flask)

Page number setting

크롤링 결과가 다른 페이지가 아닌 현재 페이지에 나타나게 하려면 어떻게 해야 하나요?

Resolved

Written on

·

308

0

개발자님, 강의 정말 잘 듣고 있습니다^^

강의 중 궁금한 부분이 생겨서요.

혹시 크롤링 결과를 다른 페이지가 아닌,

현재 페이지의 검색버튼 밑에 나오게 하려면

어떻게 해야 하나요?

궁금합니다.

웹-크롤링python

Answer 2

0

yoon님의 프로필 이미지
yoon
Questioner

답변 감사드립니다, 개발자님^^

덕분에 제가 원하던 페이지에 구현 했습니다ㅎㅎ

0

bokchi님의 프로필 이미지
bokchi
Instructor

안녕하세요 이게 글로 살명드리기 조금 어려운데

render_template("index.html") 이 부분 위에

크롤링을 하고 나서 다시 

render_template("index.html", data = "크롤링한 데이터") 

이런식으로 처리하면 됩니다~

yooooon's profile image
yooooon

asked

Ask a question