File Exchange

image thumbnail

Example files from the "Reading Web Pages, Part 1: Using webread" video

version 1.0.0.1 (2.92 KB) by Matt Tearle
Example files shown in the "Using webread" video on the "Stuart's MATLAB Videos" blog

3 Downloads

Updated 01 Sep 2016

View Version History

View License

These are the example files used in the video "Reading Web Pages, Part 1: Using webread" on the "Stuart's MATLAB Videos" blog. In this video, I show how to use webread to surf Wikipedia pages to investigate how many steps it takes to go from a random page to the page on Philosophy.

Cite As

Matt Tearle (2021). Example files from the "Reading Web Pages, Part 1: Using webread" video (https://www.mathworks.com/matlabcentral/fileexchange/52489-example-files-from-the-reading-web-pages-part-1-using-webread-video), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

YW

My version of Matlab 2016a

I tried to tun this script, but encounter error from 1st line, webread. Can you help. Error message:

>> txt = webread('http://en.wikipedia.org/wiki/Special:Random');
Error using readContentFromWebService (line 45)
The server returned the message: "Server redirected too many times (20)" for
URL,
'http://nroyaltonproxy:8889/?cfru=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9TcGVjaWFsOlJhbmRvbQ=='
(with HTTP response code unknown).

Error in webread (line 122)
[varargout{1:nargout}] = readContentFromWebService(connection, options);

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!