Changes between Version 1 and Version 2 of Ticket #1307


Ignore:
Timestamp:
Jun 9, 2014 9:32:06 PM (6 years ago)
Author:
killyourtv
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1307 – Description

    v1 v2  
    3636decoded_data = bencode.bdecode(torrent_file.read())
    3737
     38# these 'pop' lines are a cheap hack to remove these entries from the torrent file
     39# (see https://stackoverflow.com/questions/11277432/how-to-remove-a-key-from-dictionary for more info)
     40# * announce-list: remove all existing trackers
     41# * azureus*properties: azureus specific data. Includes peers and tracker data
     42# * torrent filename: includes the full path of the torrent file
    3843decoded_data.pop('announce-list', None)
    3944decoded_data.pop('azureus_properties', None)
    4045decoded_data.pop('azureus_private_properties', None)
    41 decoded_data.pop('torrent filename', None)    # includes path w/ username by default
     46decoded_data.pop('torrent filename', None)
    4247decoded_data['announce'] = tracker
    4348