No description
Find a file
2018-06-09 10:13:24 -05:00
.gitignore Finished getTorrent 2018-06-05 16:29:46 -05:00
freeleech.py Added freeleech.py. Changed naming for downloaded torrents. 2018-06-09 10:13:24 -05:00
README.md Added correct instructions for freeleech.py 2018-06-05 18:20:31 -05:00
speedcd.py Added freeleech.py. Changed naming for downloaded torrents. 2018-06-09 10:13:24 -05:00

speed.cd

A Python3 API for interfacing with speed.cd

Setup

Install

Download speedcd.py and move to your dist-packages directory.

For linux:

cp speedcd.py /usr/lib/python3/dist-packages/

For Windows:

idk

For Mac:

idk

Credentials

Credential JSON has the following format:

{
	'username': '[speed.cd username]',
	'password': '[speed.cd password]',
	'key':'[rss key]'
}

Your rss key can be found by clicking on RSS, selecting any catagory, and selecting the 'download link' radio button. At this point a url should have been generated in the text box above these selections. A section of the url has the format

passkey=xxx......xxx

Your rss key is the string folowed by the '='

Functions

getInfo gets information on the torrent (semi working)

getTorrent gets the torrent file (working)

getFreeleech gets a list of the current freeleech torrent IDs (working)

Uses

I have some working examples of uses for the API

The first one is an automatic freeleech grabber. When ran for the first time it generates a list of the current freeleech torrents. Every time it is ran after that, if there is a new freeleech it is added to the list and downloaded

Pass in the log file and location for storing torrent files

python3 freeleech.py logfile.txt /home/bobby/marry