WhatFreeGrab is an automated freeleech grabber for What.CD.
WhatFreeGrab is a Python script to automatically download freeleech torrents from What.CD.
The only dependencies outside the standard library are the requests and whatapi modules, and both can be downloaded by the script during the setup stage.
WhatFreeGrab borrows heavily from Yoink! by phracker, using code originally by tobbez, and from whatapi by isaaczafuta. Many thanks.
git clone https://github.com/emjaytee404/whatfreegrab.git
cd whatfreegrab
Now use this command to run the setup wizard and follow the prompts:
python WFG-setup.py
The filename template is created using data fields available for each torrent.
The default values are:
template_music = ${artist} - ${groupName} (${format} ${encoding}) [${torrentId}]
template_other = ${groupName} [${torrentId}]
If you prefer Yoink! style filenames, this will get you pretty close:
template_music = ${torrentId}. ${artist} - ${groupYear} - ${groupName} (${media} - ${format} - ${encoding})
template_other = ${torrentId} ${groupName}
Note: Values outside of the defaults are untested.
For music torrents, the following fields are available:
artist
artists
bookmarked
canUseToken
cover
editionId
encoding
fileCount
format
groupId
groupName
groupTime
groupYear
hasCue
hasLog
hasSnatched
isFreeleech
isNeutralLeech
isPersonalFreeleech
leechers
logScore
maxSize
media
releaseType
remasterCatalogueNumber
remasterTitle
remasterYear
remastered
scene
seeders
size
snatches
tags
time
torrentId
totalLeechers
totalSeeders
totalSnatched
vanityHouse
For non-music torrents, the following fields are available:
canUseToken
category
fileCount
groupId
groupName
groupTime
hasSnatched
isFreeleech
isNeutralLeech
isPersonalFreeleech
leechers
seeders
size
snatches
tags
torrentId