idlesign / torrentool

The tool to work with torrent files.
https://github.com/idlesign/torrentool
BSD 3-Clause "New" or "Revised" License
148 stars 30 forks source link

if file name have some strings samewith path, it will be delete #18

Closed xiashengcnwh closed 1 year ago

xiashengcnwh commented 2 years ago

hello i am using python3.9 i have some files named by '[date] xxxxx,zip' then, i create torrent by torrent = Torrent.create_from('/'+ date+ '/') torrent.tofile('my.torrent') but i cant hash it with torrent client, then i find all file name in torrent has been change to '[] xxxxx,zip', 'date' be deleted i try to use old torrentool, version before 1.1.0 dont have this problem, but folder in torrent named as '',mabye its problem of python or other requments version? and, may i create_torrent by an dict? i want add multi files but i dislike folder in torrent

thank you

idlesign commented 2 years ago

Hi,

The described behaviour is strage indeed. It seems that something is missing from your description, or there's a problem with file naming (e.g. why do you have comma in [date] xxxxx,zip). Please give some real file names (a listing) and a resulting torrent file.

idlesign commented 2 years ago

Seems to be related to #20

idlesign commented 1 year ago

Considered closed. Feel free to reopen if required.