|
|
@ -1,4 +1,4 @@ |
|
|
|
#VERSION: 2.04 |
|
|
|
#VERSION: 2.05 |
|
|
|
#AUTHORS: Christophe Dumez (chris@qbittorrent.org) |
|
|
|
#AUTHORS: Christophe Dumez (chris@qbittorrent.org) |
|
|
|
#CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es) |
|
|
|
#CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es) |
|
|
|
|
|
|
|
|
|
|
@ -125,9 +125,7 @@ class extratorrent(object): |
|
|
|
|
|
|
|
|
|
|
|
def handle_data(self, data): |
|
|
|
def handle_data(self, data): |
|
|
|
if self.cur_item_name: |
|
|
|
if self.cur_item_name: |
|
|
|
temp = self.current_item[self.cur_item_name] |
|
|
|
self.current_item[self.cur_item_name] = data |
|
|
|
self.current_item[self.cur_item_name] = " ".join((temp, data)) |
|
|
|
|
|
|
|
#Due to utf-8 we need to handle data two times if there is space |
|
|
|
|
|
|
|
if not self.cur_item_name == "size": |
|
|
|
if not self.cur_item_name == "size": |
|
|
|
self.cur_item_name = None |
|
|
|
self.cur_item_name = None |
|
|
|
|
|
|
|
|
|
|
|