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