[EXCEL] Obtain web form data through url

Table of contents

0. Environment

1. Background

2. Concrete operation


0. Environment

windows + excel2021

1. Background

I used python's flask framework crawler to crawl the movie information of Douban.com before, but I didn't expect that Excel could directly obtain the information in the web form through the url. For example, the following picture is the movie information interface

Upcoming Movies (douban.com)

Crawl the movie information into the table through excel operation, as shown in the figure below

2. Concrete operation

1) Click [Data] in the menu bar

2) Select [From Website]

 3) After a URL input box pops up, enter our movie URL and click OK

 4) After the navigator appears, click the table identified on the left to find the data you want. For example, the movie data I want here is in [Table0]. After clicking Table0, the table content will appear in the window on the right. You can choose [Table View] or [Web View], after selecting the appropriate data, click [Load]

 5) The import is successful (loaded to a new table by default)

 So far, the table data has been successfully imported into excel through url

--END--

Guess you like

Origin blog.csdn.net/qq_41539778/article/details/131758692