Base Sites Customisation¶
The darc.sites._abc
module provides the abstract base class
for sites customisation implementation. All sites customisation must
inherit from the BaseSite
exclusively.
Important
The BaseSite
class is NOT intended to
be used directly from the darc.sites._abc
module. Instead,
you are recommended to import it from darc.sites
respectively.
- class darc.sites._abc.BaseSite[source]¶
Bases:
object
Abstract base class for sites customisation.
- static crawler(timestamp, session, link)[source]¶
Crawler hook for my site.
- Parameters
- Raises
LinkNoReturn – This link has no return response.
- Return type