Sharing Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Anyone want to see anything else added to the site? Just message Shaitan with your ideas.

Pages: [1]   Go Down

Author Topic: Search function like filefind3  (Read 210 times)

0 Members and 1 Guest are viewing this topic.

GeK

  • Padawan
  • **
  • Offline Offline
  • Posts: 21
Search function like filefind3
« on: July 12, 2007, 08:22:29 PM »

Hi,

Yesterday I came across Janoz episode butler which is a great application but unfortunatly not to my liking (java, databasebackend). Therefore I have decided to get back on the old horse and build me a perl parser that does the same.

First thing first and I come across a great URL at tvrage which gives me all the information I need to find out what the current episode is and what the next one is going to be. That bits now done.

Next I get Newzbin report id's using the dnzb api interface, no problems there.

Next is attempting to find the new episode on the site so it's back to the Newzbin wiki and to my amazement I find filefind3 ;D but this only let's me search usenet files  :-\

So a long shot to any newzbin admin: any x-www-form api that allows me to search the reports, or am I really going to have to parse the entire HTML response?

Cheers,

Gek

« Last Edit: July 12, 2007, 08:54:26 PM by GeK »

Debian 3.1 - 2.6.18 kernel running Hellanzb 0.10 Trunk with Hella Web Interface v0.3 (modified)

GeK

  • Padawan
  • **
  • Offline Offline
  • Posts: 21
Re: Search function like filefind3
« Reply #1 on: July 12, 2007, 08:55:58 PM »

Posted too soon... decided that Janoz had the same problem and uncompiled his class files.  So now I have a nice search string to work with.

Does anyone have the syntax of v3 search I can't find them on the wiki?

Debian 3.1 - 2.6.18 kernel running Hellanzb 0.10 Trunk with Hella Web Interface v0.3 (modified)

hugenbdd

  • Padawan
  • **
  • Offline Offline
  • Posts: 21
Re: Search function like filefind3
« Reply #2 on: July 14, 2007, 06:04:20 PM »

GEK
I'm not sure of the syntax of the search, but when you search are you going to be parsing the html returned?  If so, why not just use the XML feed.  I had a request in to change the xml feed to have more info and it is complete.  I think you could load the xml file much easier than parsing the HTML file.

Dave

Posted too soon... decided that Janoz had the same problem and uncompiled his class files.  So now I have a nice search string to work with.

Does anyone have the syntax of v3 search I can't find them on the wiki?

GeK

  • Padawan
  • **
  • Offline Offline
  • Posts: 21
Re: Search function like filefind3
« Reply #3 on: July 15, 2007, 11:14:42 AM »

GEK
I'm not sure of the syntax of the search, but when you search are you going to be parsing the html returned?  If so, why not just use the XML feed.  I had a request in to change the xml feed to have more info and it is complete.  I think you could load the xml file much easier than parsing the HTML file.

Dave


Hi Dave,

Spent some time looking into the fields and most are self explanatory. Decided to stick with CVS as the output cos it's a lot easier to parse without having to included xml modules. Script is about done and as soon as I get a sourceforge project page I will put it online.

Debian 3.1 - 2.6.18 kernel running Hellanzb 0.10 Trunk with Hella Web Interface v0.3 (modified)
Pages: [1]   Go Up