Nzbed
From tiberious.org
NZBed Looks at a post name (ie Prison.Break.S02E22.HR.HDTV.XviD-CTU) at gets the relevant information for making a report on newzbin.com
- Supports:
- TV from tvrage.com
- Movies from imdb.com
- Games/Console from gamespot.com
- Music from allmusic.com & google.com/music
- Anime from anidb.net
- Looks up all the relevant information needed for reporting on newzbin.com
- Displays the results in an xml file.
- Caches all lookup information for quicker access (re-checks the cache 10% of the time)
- Can use page urls to get information (only tvrage,imdb,gamespot,allmusic or anidb)
- Can use custom names and genres (if site is incorrect)
- Automatically adjusts for the differences between usenet, tvrage and newzbin in tv show numbering
Limitations
- Can not replace your brain
Contents |
Applications
Feel free use this api in any programs you wish to create.
- Browser Extension (v1.0) [Firefox and Opera]
- NZBed for chrome by nicedevil [Chrome]
API
The API can be accessed using the following url:
http://www.tiberious.org/projects/nzbed/api.php
The options available are:
q - title (Required) c - ignore cached results and re-fetch i - return the results in v3.newzbin.com form id's t - type of search (can be numerical or textual: [TV:8, Music:7, Movies:6, Games:4, Consoles:2, Anime:11])
For example: api.php?q=title&i=1&c=1&t=TV
Examples
Film 1
<nzbed>
<title>Children of Men (2006)</title>
<url>http://www.imdb.com/title/tt0206634/</url>
<category>Movies</category>
<attributes>
<Source>HD-DVD</Source>
<Format>x264</Format>
<Audio>AC3/DD</Audio>
<VideoGenre>Action/Adv</VideoGenre>
<VideoGenre>Drama</VideoGenre>
<VideoGenre>Sci-Fi</VideoGenre>
<VideoGenre>Thriller</VideoGenre>
</attributes>
</nzbed>
TV 1
http://www.tiberious.org/projects/nzbed/api.php?q=Prison.Break.S02E22.HR.HDTV.XviD-CTU&t=TV
<nzbed>
<title>Prison Break - 2x22 - Sona</title>
<url>http://www.tvrage.com/Prison_Break/episodes/523487/2x22/</url>
<category>TV</category>
<attributes>
<Source>TV Cap</Source>
<Source>HDTV</Source>
<Format>XviD</Format>
<VideoGenre>Action/Adv</VideoGenre>
<VideoGenre>Drama</VideoGenre>
</attributes>
</nzbed>
TV 2 (ids)
http://www.tiberious.org/projects/nzbed/api.php?q=Scrubs.S03E10.DVDRip.XviD&i=1&t=8
<nzbed>
<ps_title>Scrubs - 3x10 - My Rule of Thumb</ps_title>
<ps_url>http://www.tvrage.com/Scrubs/episodes/149741/3x10/</ps_url>
<ps_category>8</ps_category>
<attributes>
<ps_rb_source>64</ps_rb_source>
<ps_rb_video_format>16</ps_rb_video_format>
<ps_rb_video_genre>4</ps_rb_video_genre>
</attributes>
</nzbed>
Game 1
http://www.tiberious.org/projects/nzbed/api.php?q=Need_For_Speed_Carbon_READNFO_NTSC_XBOX360&t=2
<nzbed>
<title>Need for Speed Carbon (2006)</title>
<url>http://www.gamespot.com/xbox360/driving/needforspeedcarbon/</url>
<category>Consoles</category>
<attributes>
<Region>NTSC</Region>
<ConsolePlatform>Xbox360</ConsolePlatform>
<GameGenre>Racing</GameGenre>
</attributes>
</nzbed>
URL 1
http://www.tiberious.org/projects/nzbed/api.php?q=uk.gamespot.com/psp/driving/burnout/
<nzbed>
<title>Burnout Legends (2005)</title>
<url>http://www.gamespot.com/psp/driving/burnout/</url>
<category>Consoles</category>
<attributes>
<ConsolePlatform>PSP</ConsolePlatform>
<GameGenre>Racing</GameGenre>
</attributes>
</nzbed>
Music 1
http://www.tiberious.org/projects/nzbed/api.php?q=Evanescence+-+The+Open+Door&t=7
<nzbed>
<title>Evanescence - The Open Door (2006)</title>
<url>http://www.allmusic.com/cg/amg.dll?p=amg&sql=10:0zfixqudldte</url>
<category>Music</category>
<attributes>
<AudioGenre>Rock/Pop</AudioGenre>
</attributes>
</nzbed>
Dumb 1
<nzbed>
<title>National Geographic Animal Patrol Polar Bear Peril</title>
<category>TV</category>
<attributes>
<Source>HDTV</Source>
<Format>XviD</Format>
</attributes>
</nzbed>
Tests
Anime
All working
- Chocotto Sister -ep.14
- Legend of Galactic Heroes Gaiden 3 - 04
- Legend of Galactic Heroes Gaiden 08
- Rockman.EXE Axess 31 (sub,h264,aac,mkv)
- Sketchbook full color's 12
- Buzzer Beater 2007 -ep.11
- Death Note Episode 13-16
- Gurren Lagann 20 -23
- History`s Strongest Disciple Kenichi 01-26
Music
It only works with:
Artist - Album
Movie
If it includes the full name at the beggining, it should work
Game/Console
If it includes the full name at the beggining, it should work
TV
Show - SxEE - Episode
- Battlestar Galactica - 1x13 - Kobol's Last Gleaming - Pt.2
- the.4400.s02e12.the.fifth.page.1
- battlestar.galactica.s02e12.resurrection.ship.2
- smallville.118
- family guy 1x03 something
- dilbert.s1 ep01 something
- Green Wing Series 1 Ep 03
- have i got news for you - 201 - Sandi Toksvig, David Thomas
- LookAroundYou(2x01)Music-XviD
- Spitting Image - Series 2, Episode 01 (06-01-1985)
- Top Gear - [03x06] - 2003.12.07
- 24_3x01_720x480.XviD.MP3.ram
- QI_S3Ep2
- QI-S03E03
- Fawlty Towers - series.01 - 12
Show - Season X [DVD Y]
- AIRWOLF_S2_D1
- Battlestar Galactica - Season 2 DVD 1
Show - YYYY-MM-DD - Episode
- WWE.Monday.Night.RAW.05.14.07.DSR.XviD-KYR
- The.Daily.Show.2007.05.14.DSR.XviD-STFU
- The.Colbert.Report.2007.05.14.DSR.XviD-STFU
- The.Colbert.Report.01.28.2008.PDTV.XviD-2HD
Show - SxEE-SxEE - Title 1 / Title 2
Working
- The.Game.S01E21-E22.HR.HDTV.XviD-CTU
- HOUSE S02E22-23-24
- the.king.of.queens.s09e12-13.hr.hdtv.xvid
- The.Kill.Point.S01E01-02.DVDRip.XviD-TOPAZ
- Monk.1x01_1x02.Mr_Monk_And_The_Candidate.AC3.WS_DVDRip_XviD-FoV
NOT WORKING
- damages.101-102.vostfr
- Kerry Katona Crazy In Love S01E01 & E02
Development
Todo
- log unfound queries
- dumb fill uses type id for category so it can set attributes
- check season x disc y generic matching
Change Log
February 24 2008
- TV
- Can deal with shows that use dates
- Can deal with some[most hopefully] multiple episode posts
February 03 2008
- All
- Added the ability to force results on a particular search
- imdb
- updated the search url regex to match more
January 18 2008
- All Music:
- Added extra checks for redirects
- API:
- Added custom UTF conversion code (should fix all the weird character stuff)
- ED:
- updated 'tvcap' matches (added tvrip,sdtv)
- added video format: psp
- added basic language retrieval
- TV:
- fixed numbering scheme for shows without a correct tvrage page
- removed tvcap as a default entry for tv
- Gamespot:
- Fixed Genre and Year matching
- imdb
- www. is optional in the url search
- tvrage
- fixed tvrageToNewzbin and usenetToTvrage conversions for cached shows
October 08 2007
- Fixed gamespot (twice)
- Fixed allmusic
- Added language field for tv/movies/games
June 27 2007
- Dumb filter: Put formatted text into title, and fill in attributes
- Added resolution attributes
- Tvrage changed their html, small fix
May 10 2007
- Added Music searches
May 01 2007
- Added dates to certain shows, to conform to new newzbin rules
- Added a workaround for shows that series and episode number are different between usenet, tvrage and newzbin
April 22 2007
- If it can not find a TV episode for a show, displays a default title, and series tvrage link (rather than nothing)
- Added DVD support for tv series, (Angel S01D01) becomes: (Angel - Season 1 [DVD 1])
April 21 2007
- Added url input ability: Takes a url from imdb/tvrage/gamespot and returns the report info
April 20 2007
- Added gamespot game search
- Changed method of retrival (&t=type) is supplied to determine what the source is
- Better decoding of html for display
- Bit more error redundancy
- Changed 'Genre' to 'VideoGenre' (to make way for GameGenre and AudioGenre
April 17 2007
- Changed imdb search to google (hopefully for better results)
