Allow scripts to accompany HTTP referer and the like with a source
Some sources require a specific referer to be set before the wanted item can be downloaded. the item.misc.uris
std::vector<string>
should thus be replaced with some std::vector<request>
which holds a map of HTTP request settings.
The request
struct should also hold an enum explaining what kind of source it is: torrent, http, etc.