Anime lookup scraper for anidb.net and/or animenfo.com

  Thread Rating:
  • 2 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
SpoBo Offline
Member
Posts: 54
Joined: May 2006
Reputation: 0
Post: #41
I'd be pretty interested in this feature as well ... even if it's only for having a nice thumb for the series, and an item in the library for every episode. That way I can remember where I was in a certain series.
find quote
acaranta Offline
Junior Member
Posts: 34
Joined: Jan 2009
Reputation: 0
Location: Mougins, France
Post: #42
Right ... I jump in the topic, and I hope my post will fit ...

So I had nearly my whole week-end coding the scraper for anidb ... and the proof of concept says ... it work perfectly ...

BUT ... and that's why i don't post it yet ...

My scraper is an early beta which has several problems :
1)The problem of gzipped page at anidb ... well I made a dirty hack : a perl script on my webserver is called with the anidb you want as a parameter ... the script only performs a "wget <url> |gunzip" ... dirty but it works like a charm ...however if i was to release the scraper everyone would use my IP to access anidb ... and there comes the real problem ...

2)AniDB, does not allow scraping, because it is seen as crawling/mirrorring their website ... and considering all the work it took to build such a database, I understand. So the scraper works, but you get banned after too many requests, updating your anime series.

I would have loved to release this scraper, because it seems some people wanted it, and because I was proud to see it work that nicely ...

The only valid way of interrogating AniDB, would be via their API, which is not web based, but UDP based ... I have to see what would the cost for me to code and UDP-to-XBMC interface ...

Anyone got their hands on the UDP API ?
(This post was last modified: 2009-01-26 15:49 by acaranta.)
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,181
Joined: Nov 2003
Reputation: 82
Post: #43
hey,

interest again. i will whip up a solution for 1) asap

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
acaranta Offline
Junior Member
Posts: 34
Joined: Jan 2009
Reputation: 0
Location: Mougins, France
Post: #44
Great ... however, the gzip problem isn't really the current issue Sad

It will take time to developp the UDP interface .... Maybe it could be done via a python script ... but can a python plugin be used as a scraper ?

Anyway writing the scraper was really interesting ... and seeing it working (before I got banned twice by anidb) was really beautiful Tongue

PS : If I have some time I should go on and edit the scraper wiki page to add the GetEpisode, etc functions ...
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,181
Joined: Nov 2003
Reputation: 82
Post: #45
why can't they just offer a sane xml-based interface :/

no, there is no support for python based scrapers currently

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
acaranta Offline
Junior Member
Posts: 34
Joined: Jan 2009
Reputation: 0
Location: Mougins, France
Post: #46
Well ... xml interface is in "progress" ... or at least there is a draft in their wiki ...

I guess the best to get one would be to code it via their API and offer it to them ... Wink

But I do agree, in 2009, proprietary API is weird ... :/
find quote
acaranta Offline
Junior Member
Posts: 34
Joined: Jan 2009
Reputation: 0
Location: Mougins, France
Post: #47
OK ... their API is quite restrictive ... and the laws are really strict ... (yes law not rules, I chose my words) ...

I'll see if I can do something OR if I can find another website ... But it seems anidb is the most detailed website around ....
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,181
Joined: Nov 2003
Reputation: 82
Post: #48
gzip support is in svn (untested). please, if you could be so kind.. Smile

<url gzip="yes">...</url>

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
acaranta Offline
Junior Member
Posts: 34
Joined: Jan 2009
Reputation: 0
Location: Mougins, France
Post: #49
Sorry to bring you down by the message below ... Tongue

I won't be needing gzip support in the scraper I plan to write ... I am actually going to write the missing xml-api ... so I won't be accessing directly via web to anidb.net ...

and ... I don't use the xbmc svn ... I went for the windows version on my media pc ... However, I could possibly try to find a *nux box to test ...
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,181
Joined: Nov 2003
Reputation: 82
Post: #50
just check out the community builds in the windows section, i'm sure jester have already built atleast twice after r17389.

but sure, i'll test it myself then Wink

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Post Reply