a script to extract torrents depending on label input