Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UDP Tracker Scrape #3

Open
eremini opened this issue Jun 2, 2011 · 17 comments
Open

UDP Tracker Scrape #3

eremini opened this issue Jun 2, 2011 · 17 comments
Labels
Milestone

Comments

@eremini
Copy link

eremini commented Jun 2, 2011

Hi,

This is more of a feature request. Could you please consider making it possible to scrape a UDP tracker for numbers, as a lot of trackers seem to be switching to UDP only model (openbittorrent being the biggest one). Since you now use CURL this should be no problem.

Cheers.

@adriengibrat
Copy link
Owner

Hello,
Interesting point! Any idea where i could find the spec? I have no idea how
to do that...

Adrien

2011/6/2 eremini <
[email protected]>

Hi,

This is more of a feature request. Could you please consider making it
possible to scrape a UDP tracker for numbers, as a lot of trackers seem to
be switching to UDP only model (openbittorrent being the biggest one). Since
you now use CURL this should be no problem.

Cheers.

Reply to this email directly or view it on GitHub:
#3

@eremini
Copy link
Author

eremini commented Jun 2, 2011

Hi,

Good to hear that you're interested. The oficial spec is located here: http://xbtt.sourceforge.net/udp_tracker_protocol.html

Let me know if you need any other info, help or testing.

Cheers.

@eremini eremini closed this as completed Jun 2, 2011
@eremini eremini reopened this Jun 2, 2011
@adriengibrat
Copy link
Owner

Thanks for the link, now i have to find some time to try implementing this

@adriengibrat
Copy link
Owner

Ok, i've just look deeper into some doc (the link you posted + http://www.rasterbar.com/products/libtorrent/udp_tracker_protocol.html)
It seems I have to implement Connection, Scraping, Error & eventualy Authentification... using sockets.
And Curl isn't any help here!

@eremini
Copy link
Author

eremini commented Jun 4, 2011

Yeah you're right I forgot you got to use sockets in this case, so I guess it gets more complicated :/

Example of UDP communication from php.net

@eremini eremini closed this as completed Jun 4, 2011
@eremini eremini reopened this Jun 4, 2011
@adriengibrat
Copy link
Owner

very interesting code:
https://github.com/johannes85/PHP-Torrent-Scraper

@eremini
Copy link
Author

eremini commented Jun 5, 2011

Ah nice, it's not as complicated as I thought, perhaps you can reuse some of his code in your way

@johannes85
Copy link

The easyest way to do it would be to implement some kind of a plugin system so a external scraper class (like mine) could be used. Some Dependency Injection stuff or so. But then there is the question if you want to extend your compact class to a bigger system? A torrent framework which can handle all torrent related tasks would be very useful.

@adriengibrat
Copy link
Owner

Sorry I still haven't done anything about that!
If anyone want to submit a patch or a push, it's always welcome.

I'm not using torrent very often, I just did that class for fun...
So no torrent Framework in sight.

@eremini
Copy link
Author

eremini commented Apr 12, 2012

I am willing to make a donation even if someone is willing to implement UDP scraping into this code!

@adriengibrat
Copy link
Owner

As soon as i got some time i'm willing to implement UDP scraping + DHT
methods using UDP transfert protocol.
I'm open for any help as I got only few spare time (got a new job 2 weeks
ago and a beautifull son 3 days ago!).
Anyone wanting to help on this, please clone and start coding ;)

@ghost ghost assigned adriengibrat May 5, 2012
@eremini
Copy link
Author

eremini commented Dec 4, 2012

I guess no progress on this yet adriengibrat . I'd honestly be willing to donate to someone if they got this done by now, I simple don't have the time or the skill anymore.

@EdOzolins
Copy link

Hey adriangibrat!
Here is what I found for udp scraping.
https://github.com/ZonD80/Kinokpk.com-releaser/blob/3.30/Kinokpk.com_releaser_v.3.30/upload/include/benc.php

It would be great if you could add udp to your class.
Thanks

@robinlahtinen
Copy link

Updates?

@adriengibrat
Copy link
Owner

PR always welcome. I dont have time/motivation to do it, but i will happily review & merge.

@darkalchemy
Copy link
Collaborator

I added this using the scrapeer class, its in the changes/demo branch. 8cb60d8

@teamcoltra
Copy link

I notice that at least some if not all of @darkalchemy 's commit has not made it to the master branch. Did this feature get implemented differently or is there something holding this up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants