Commit graph

15 commits

Author SHA1 Message Date
Romain Bignon
aea269e9f6 create UserError exception
Modules can raise this exception when they want to print errors to user
2012-04-25 13:43:52 +02:00
Romain Bignon
c6a141595c change way to describe fields of CapBaseObject, and lot of documentation 2012-03-26 14:35:54 +02:00
Laurent Bachelier
ee04a92f04 Support magnet URLs in weboorents 2012-03-09 02:49:00 +01:00
Laurent Bachelier
a31a751e28 Clean up the Torrent object
As discussed on IRC, those huge constructors aren't ideal.
Includes misc pep8 fixes.
2012-03-09 00:43:02 +01:00
Laurent Bachelier
878621825b Fix the KickAss test, and enhance it (closes #651)
This allowed to fix a crash when parsing descriptions with invalid
unicode (KickAss is quite horrible it seems).

A new attribute, filename, has been added. It is the recommended
filename of the .torrent file, and should simplify downloading files when
it will be supported by weboorents.

The usage text/tail was useless, lxml supports text_content() for HTML,
which is much simpler.
2011-04-28 11:21:01 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Romain Bignon
916400467e use "basestring" instead of "(str,unicode)" 2010-10-16 17:44:09 +02:00
Romain Bignon
92c6507f71 use the new add_field() method to define fields 2010-10-08 13:43:57 +02:00
Romain Bignon
e980e040ba capabilities objets inherit from CapBaseObject (refs #369) 2010-08-12 17:22:04 +02:00
Christophe Benz
45ffb0fe7d s/ICap/IBaseCap and add constants 2010-08-12 16:04:53 +02:00
Christophe Benz
470f2a9fe2 use real comments for licence header 2010-06-22 16:27:33 +02:00
Romain Bignon
550fee93ba command 'getfile' to store torrent in a file (or to stdout with '-') 2010-05-02 19:09:31 +02:00
Romain Bignon
2ee1c761ea implement Gazelle.get_torrent() method 2010-05-02 18:55:56 +02:00
Romain Bignon
85d78e9bdf new 'gazelle' backend (bittorrent trackers), implementing ICapTorrent 2010-05-01 16:47:39 +02:00
Romain Bignon
245c44987d new ICapTorrent capability 2010-05-01 14:41:09 +02:00