Data URI Schemes

The darc.sites.data module is customised to handle data URI schemes.

class darc.sites.data.DataURI[source]

Bases: BaseSite

Data URI schemes.

static crawler(timestamp, session, link)[source]

Crawler hook for data URIs.

Parameters
  • timestamp (datetime) – Timestamp of the worker node reference.

  • session (requests.Session) – Session object with proxy settings.

  • link (Link) – Link object to be crawled.

Raises

LinkNoReturn – This link has no return response.

Return type

NoReturn

static loader(timestamp, driver, link)[source]

Not implemented.

Raises

LinkNoReturn – This hook is not implemented.

Return type

NoReturn

Parameters