Why do I get this error message "FORBIDDEN" when trying to read web data?
조회 수: 6 (최근 30일)
이전 댓글 표시
I'm trying to copy the text from this URL: https://seekingalpha.com/article/4119881-activision-blizzard-atvi-q3-2017-results-earnings-call-transcript?part=single
And get the following (attached) error message.
Why am I getting this and how can I work around it? All I simply want to do is copy the text data on the page.
Thank you!
댓글 수: 0
답변 (1개)
Walter Roberson
2017년 11월 9일
The page has protections against automated access.
For example when you access with webread() then by default no browser information is sent.
댓글 수: 2
Walter Roberson
2017년 11월 9일
The first thing I would try changing would be the UserAgent https://www.mathworks.com/help/matlab/ref/weboptions.html
참고 항목
카테고리
Help Center 및 File Exchange에서 Web Services에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!