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

does not worl #2

Open
necenzurat opened this issue Feb 27, 2014 · 5 comments
Open

does not worl #2

necenzurat opened this issue Feb 27, 2014 · 5 comments

Comments

@necenzurat
Copy link

i cannot seem to make it work, any idea ?

<?php
include "udptscraper.php";
try{
$timeout = 10;
    $scraper = new udptscraper($timeout);
    $ret = $scraper->scrape('udp://tracker.openbittorrent.com:80',array('0D7EA7F06E07F56780D733F18F46DDBB826DCB65'));
    print_r($ret);
}catch(ScraperException $e){
    echo('Error: ' . $e->getMessage() . "\n");
    echo('Connection error: ' . ($e->isConnectionError() ? 'yes' : 'no') . "\n");
}
@achernar
Copy link

what error you have?

2014-02-27 3:13 GMT-03:00 Costin Moise [email protected]:

i cannot seem to make it work, any idea ?

scrape('udp://tracker.openbittorrent.com:80',array('0D7EA7F06E07F56780D733F18F46DDBB826DCB65')); print_r($ret);}catch(ScraperException $e){ echo('Error: ' . $e->getMessage() . "\n"); echo('Connection error: ' . ($e->isConnectionError() ? 'yes' : 'no') . "\n");} ## Reply to this email directly or view it on GitHubhttps://github.com//issues/2 .

@necenzurat
Copy link
Author

for 2 days on 2 different machines in different network it times out, now it works

@achernar
Copy link

achernar commented Mar 3, 2014

i have problem with blocked ports in my server, try it...

2014-03-01 19:52 GMT-03:00 Costin Moise [email protected]:

for 2 days on 2 different machines in different network it times out, now
it works

Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-36439500
.

@necenzurat
Copy link
Author

By the way, is there a way i can get the seeders/peers ip adresses? Or better yet, exchange information?

Sent from my iPhone

Costin Moise

On 03.03.2014, at 15:42, Alex Achernar da Rosa Wendt [email protected] wrote:

i have problem with blocked ports in my server, try it...

2014-03-01 19:52 GMT-03:00 Costin Moise [email protected]:

for 2 days on 2 different machines in different network it times out, now
it works

Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-36439500
.


Reply to this email directly or view it on GitHub.

@achernar
Copy link

achernar commented Mar 3, 2014

i think these scripts is a good way to get information

2014-03-03 11:29 GMT-03:00 Costin Moise [email protected]:

By the way, is there a way i can get the seeders/peers ip adresses? Or
better yet, exchange information?

Sent from my iPhone

Costin Moise

On 03.03.2014, at 15:42, Alex Achernar da Rosa Wendt <
[email protected]> wrote:

i have problem with blocked ports in my server, try it...

2014-03-01 19:52 GMT-03:00 Costin Moise [email protected]:

for 2 days on 2 different machines in different network it times out,
now
it works

Reply to this email directly or view it on GitHub<
https://github.com/johannes85/PHP-Torrent-Scraper/issues/2#issuecomment-36439500>

.

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-36514447
.

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

No branches or pull requests

2 participants