get_web_page()

async Client.get_web_page()

Get information about a web page via URL.

Usable by Users Bots
Parameters:
  • url (str) – The URL of the web page.

  • hash (int, optional) – Hash for caching, for more info click here.

Returns:

WebPage – The web page information.

Example

page = await app.get_web_page("https://example.com")