PDA

View Full Version : Parser for NZB in newsgroups



prometeus
08-08-2005, 02:50 PM
I've written an PHP application that automatically parse almost all binarie groups for NZB files.
Its based of binsearch.info but there you cant search for nzb files and at my site you can.

Its now running for 3 days full and I already have 5804 NZB files in the database :w00t:

If a mod can give me allowance to post my site I will do that.
Until then I will not spam the board.

Prometeus.

tesco
08-08-2005, 05:40 PM
Hey, thanks for the consideration.

But funny enough me and reality have been working on doing that exact same thing for this board. :lol: The thing is, we've been spending a lot of time trying to make it very select, so that it only grabs NZBs which are certain to be legit (meaning includes an nfo, pars, etc.).

Post your link, i want to see what you'vve done :)

prometeus
08-08-2005, 06:04 PM
Hey, thanks for the consideration.

But funny enough me and reality have been working on doing that exact same thing for this board. :lol: The thing is, we've been spending a lot of time trying to make it very select, so that it only grabs NZBs which are certain to be legit (meaning includes an nfo, pars, etc.).

Post your link, i want to see what you'vve done :)

LOL.... Its at a very simple stage now as I dont really know php/mysql
(but I'm learning) And I dont check for validity.. but I'm on the way to include the complete FTD number scheme with it.

Here is the link...
http://prometeus.daricash.com

prometeus
08-08-2005, 07:58 PM
I have included on my test server the nfo links for the FTD numbers which is pretty neat.
Been struggling with regular expressions but it working in the lab...

tesco
08-08-2005, 08:08 PM
I don't know how to do regular expressions yet, I just use str_replace where it can be used, and explode to seperate parts of code.

edit: I know you said you don't know much about PHP but do you have any idea how to make the code download that NZB file to a temp directory instead of showing the link? (reality says it's copyrighten or something like that so you can't link to their NZBs)

prometeus
08-08-2005, 08:22 PM
There must be an easy way for doing that.
fopen is your friend....

I will be happy to code / investigate it if you want...

prometeus
08-25-2005, 01:20 PM
havent had much time on the comp as I have broken my wrist and broozed the other one, so typing is a hell....

vivitron 15
08-25-2005, 02:46 PM
ill be interested to see this workin on the board...tried myself for a bit, but got sidetracked lol

RealitY
08-25-2005, 04:24 PM
The way the NZB Section is buit up now is nice as it adds most of the info through the new script with details. This seperates us form many other sites that have vague titles and a bunch of stuff that you have to wead through...

vivitron 15
08-25-2005, 05:27 PM
this is true, but the nature of the beast is that i rarely get any nzbs from here, purely because they tend to be available elsewhere, with a larger degree of content.

the problem with any site which relies on uploads is that unless you implement some system of regulating (can only dl if you ul) you have little content.

The problem with the newzbin system is that as of yet, there is no "scene" tag system - i.e. the dvds section is full of useless crap, a lot of which is recodes from svcd/cams etc. - i guess this makes uploading "better", but at the end of the day, it becomes difficult to see what there is.

Out of interest, can you tell from site stats how many of the nzbs are dled?

RealitY
08-25-2005, 05:40 PM
this is true, but the nature of the beast is that i rarely get any nzbs from here, purely because they tend to be available elsewhere, with a larger degree of content.
Many here are prior to elsewhere and as for content weeding through oodles of crap gets annoying.


the problem with any site which relies on uploads is that unless you implement some system of regulating (can only dl if you ul) you have little content.
The section is still relativly new and has decent posters and I think we only need a hanfull to make it actractive. I think requiring dl for ul would cause more damage than good. The only thing that has been changed recently is that you can only get attchments if your registered wher as prior even Guests could as well.


The problem with the newzbin system is that as of yet, there is no "scene" tag system - i.e. the dvds section is full of useless crap, a lot of which is recodes from svcd/cams etc. - i guess this makes uploading "better", but at the end of the day, it becomes difficult to see what there is.
Thats why I think having a tidy section as it is may be more attractive since there are many sites that have the tons of post setup that you have to weed through. Maybe a good medium would be to have two seperate sections here so that users could view both individually. Alternativy is having them auto post but moderate them before they show...


Out of interest, can you tell from site stats how many of the nzbs are dled?
You can look at the attachments and it seems the traffic is steadly climbing. I see many that have quite a high number count. It also seems that the section at many times is the busiest on the board with the highest viewing status...

JPaul
08-25-2005, 05:41 PM
Prometeus,

As I understand it you are allowed the link in your sig as well.