Magnet Links¶
The darc.sites.magnet
module is customised to
handle magnet links.
- class darc.sites.magnet.Magnet[source]¶
Bases:
BaseSite
Magnet links.
- static crawler(timestamp, session, link)[source]¶
Crawler hook for magnet links.
- 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: