ما هي مشكلتي بقي في حتة معالجتها والتزويد عليها
لما باستخدم الامر
aria2.tellStatus()
بتجيبلي القيم مرة واحدة فكده هاحتاج انفذها كل ما اكون عايز اعرف التحميل وصل لحد فين
وده جزء الكود عندي
def getData(self):
#Getting the job data
self.data=s.aria2.tellStatus (self.gid)
self.filename=os.path.split(self.url)[1]
self.status=self.data.get('status')
self.totallength=self.data.get('totalLength')
self.completedlength=self.data.get('completedLength')
self.downloadspeed=self.data.get('downloadSpeed')