Stuart’s MATLAB Videos

Watch and Learn

Scraping Links from a List of Web Pages

My colleague Sherrie just asked me if I could extract the links from a specific set of pages, then store them in a spreadsheet. She just needs the links from the area in the center of the page and not on the top or bottom “boilerplate” area. I also plan to put the results for each page into a different worksheet of the spreadsheet. I will use a bunch of functions from the Text Analytics Toolbox that I have used before.

Features covered in this code-along style video include:

  • webread
  • htmlTree, extractHTMLText, findElement, getAttribute

Video Player is loading.
Current Time 0:00
Duration 44:14
Loaded: 0.00%
Stream Type LIVE
Remaining Time 44:14
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected

    Play the video in full screen mode for a better viewing experience. 

    |
    • print

    댓글

    댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.

    Loading...
    Go to top of page