Your first IMPORTFROMWEB function

Write your function

Importing data is as easy as typing

=IMPORTFROMWEB([the url you want to search], [an XPath or CSS selector to describe the content you want to import])

Try

=IMPORTFROMWEB("https://www.imdb.com/chart/boxoffice?ref_=nv_ch_cht", "table")

Open the ImportFromWeb sidebar

The sidebar gives you a lot of support to create your function and discover all the capabilities.

Open it through the menu Extension > ImportFromWeb > ๐Ÿ›  Open sidebar.