rembo10 / headphones

Automatic music downloader for SABnzbd
GNU General Public License v3.0
3.39k stars 600 forks source link

nzb.su support broken? #1609

Open dny238 opened 10 years ago

dny238 commented 10 years ago

NZB.su changed their 'api' to this url.

https://api.nzb.su/rss?t=0&dl=1&i=&r=

I put https://api.nzb.su and my key in the headphones interface. it's checked 'enabled' use nzbnab is checked as well.

None of my search results are from NZB.su still. I do get this error, but since the error doesn't show the URL that's 404'ing I can't tell if it's from nzb.su or not.

06-May-2014 10:39:58 - ERROR :: CP Server Thread-4 : Request raise HTTP error with status code: 404

Thoughts? Rob

PeteJB commented 10 years ago

NZB.su blocks Headphones searches....They have a comment on their website about it

dny238 commented 10 years ago

Why don't we fix it from 'hammering' the site? "Headphones is not a client that is allowed--it hammers the site, and we have blacklisted the user-agent. Attempts to circumvent the blacklist will result in your account being disabled/banned/etc. "

achmetinternet commented 10 years ago

This is the latest answer I found from the Admin on the question if headphones will be un-blocked:

Nope, if someone figures out how to fix it so there aren't 1 million queries hitting our API - we'll be happy to re-enable it one day. As it is, there are too many user-defined variables that allow someone that doesnt know what they're doing to hammer the crap out of the api.

dny238 commented 10 years ago

So why not code in some hard limit that allows the system to request up to 10 nzb's an hour or something. Simple rate limiter.

piejanssens commented 10 years ago

Can you ask the admin what their limit would be?

antakar commented 8 years ago

Just exchanged emails with nzb.su admin. Here are his words:

The problem isnt the search frequency, its how much it searches. The application needs to be built so it caches rss feeds and then searches locally instead of using API hits.

CouchPotato and Sonarr use rss to search. Would it be possible to do similar with Headphones, as headphones is loosing so much by being banned by the best "services".