commit e8cf64406230ab86ba8a81eef135b69e4830323a Author: Sven Slootweg Date: Sun Jun 30 00:05:29 2013 +0200 Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..fea08af --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# nzbspider + +Takes input in the form of either a list of release names or a +configuration file (matching database entries), and then searches for +and downloads the corresponding NZBs. + +## Sources + +Currently uses nzbindex.nl and binsearch.info. Shouldn't be hard to +extend. Contributions welcome. + +## Installing + +You'll need to `pip install oursql` (this will require having the MySQL +development libraries installed). Other than that, just run main.py. + +## License + +Licensed under the WTFPL or, if you take issue with that for some +reason, the CC0. Attribution (to Sven Slootweg) appreciated, not +required. + +## Donating + +If you like this, you can donate +[here](http://cryto.net/~joepie91/donate.html). diff --git a/main.py b/main.py new file mode 100644 index 0000000..822e2df --- /dev/null +++ b/main.py @@ -0,0 +1,4 @@ +import re, oursql + +from sources.nzbindex import NzbindexSpider +from sources.binsearch import BinsearchSpider diff --git a/sources/__init__.py b/sources/__init__.py new file mode 100644 index 0000000..77f1e4a --- /dev/null +++ b/sources/__init__.py @@ -0,0 +1,2 @@ +class NzbindexSpider(object): + pass diff --git a/sources/binsearch.py b/sources/binsearch.py new file mode 100644 index 0000000..ed9d53d --- /dev/null +++ b/sources/binsearch.py @@ -0,0 +1,2 @@ +class BinsearchSpider(object): + pass diff --git a/sources/nzbindex.py b/sources/nzbindex.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/sources/nzbindex.py @@ -0,0 +1 @@ +