1. request, beautifulsoup4 설치
    1. CMD에서
      1. cd \파이썬폴더\Scripts
      2. pip install requests
      3. pip install beautifulsoup4
    2. 파이참 terminal에서
      1. pip install requests
      2. pip install beautifulsoup4
    3. 역할
      1. request : 데이터를 요청하는 라이브러리 모듈
      2. Beautifulsoup : HTML을 가져와서 파싱(parsing)하는 라이브러리 모듈
  2. 기상청 rss 정보 보기
    1. http://www.weather.go.kr/weather/lifenindustry/sevice_rss.jsp
    2. http://www.weather.go.kr/weather/forecast/mid-term-rss3.jsp?stnId=108
    3. 전송데이터
  3. 소스 코드

     
  4. 참조 : https://blog.naver.com/luckperson7/221200031639

 

 

error: Content is protected !!