인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

skj8109's profile image
skj8109

asked

[Python in Practice] Web Crawling and Data Analysis: Analysis of the Transfer Fees of Football Players Worldwide

Ta-da! Finally, real crawling!

transfermarkt.com 페이지에 대해서 status_code가 404로 오류가 나타납니다.

Written on

·

205

0

안녕하세요.

headers={"User_Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36"}

url="https://www.transfermarkt.com/"

r=requests.get(url,headers=headers)

r.status_code

해당 코드 결과가 404로 나옵니다.

404의미를 찾아보니 해당 페이지가 없을 때 나오는 오류라고 하는데 해당 페이지는 잘 접속이 되는 상태입니다. 

새로고침도 해보고 다시 켜보기도 하고 캐시도 삭제해본 상황 입니다.

오류의 이유가 무엇인지 알 수 있을까요?

pandas웹-크롤링pythonbeautifulsoup

Answer

This question is waiting for answers
Be the first to answer!
skj8109's profile image
skj8109

asked

Ask a question