كيفية إضافة وظيفة الفصل للحصول على أقرانهم الانتهاء في سيل؟

StackOverflow https://stackoverflow.com/questions/5050901

سؤال

لقد قمت بإنشاء برنامج نصي ينشئ معلومات حول ملف سيل!لكنني غير موجود في إنشاء بذور وأقران أقرانهم وظيفة!أخبرني أحدهم أنهم في المجال المكتملة المحددة في سيل.يرجى رموز وظيفتي الدراسية التي أقوم بعرض المعلومات التي قمت بإنشائها باستخدام bencode.php والتي تخرج البيانات وهذا البرنامج النصي، المسمى torrent.php يحول ذلك في شكل قابل للقراءة! giveacodicetagpre.

الرجاء مساعدتي!

شكرا مقدما!

هل كانت مفيدة؟

المحلول

Little late but the class you say to have created comes from:

https://github.com/torrage/Torrage

It's original purpose was not intended to retrieve that kind of data.

A class that gets you seeds and peers for torrent inclusive the rest of the data see:

https://github.com/adriengibrat/torrent-rw

نصائح أخرى

That information's not stored in the .torrent file. It's highly dynamic data, which can change every microsecond on a 'busy' torrent. The server's not going to build a custom .torrent file with up-to-the-minute statistics every time someone downloads it.

Think about it for a second. You download a .torrent file on Monday, but only look at it next Friday. The stats are now a week old and stale.

You can, however, take the tracker information in the .torrent and query those trackers for the stats.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top