module loghelper.url_helper

Inheritance diagram of pyquickhelper.loghelper.url_helper

Short summary

module pyquickhelper.loghelper.url_helper

Helpers for Internet

source on GitHub

Classes

class

truncated documentation

CannotDownloadException

Raised by function get_url_content() if something cannot be downloaded.

Functions

function

truncated documentation

get_url_content

retrieve the content of an url

Documentation

Helpers for Internet

source on GitHub

exception pyquickhelper.loghelper.url_helper.CannotDownloadException[source][source]

Bases: Exception

Raised by function get_url_content if something cannot be downloaded.

source on GitHub

pyquickhelper.loghelper.url_helper.get_url_content(url, use_mozilla=False)[source][source]

retrieve the content of an url

Parameters
  • url – (str) url

  • use_mozilla – (bool) to use an header fill with Mozilla

Returns

page

source on GitHub