BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Scripts
 AniDB.net

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
eidolen Posted - 27 Mar 2009 : 04:05:53
Hi,
I was trying to write a little script for this site for the artwork, "covers" but I'm getting a strange problem with #WEBQUERY# returning garbage.

If I copy the string straight from the "Download Monitir G3" window and put it in a browser it works fine. If I try to use the MagicScript Editor, I get 24 lines of jibberish garbage which stops me from being able to troubleshoot my script. Do some sites not allow programs to "mine" information or something, or more likely I'm doing something wrong.

This is the command I used:
#WEBQUERY#=http://scriptnidb.net/perl-bin/scriptnimedb.pl?show=animelist&adb.search=#MOVIE#&do.search=search

and I also tried:

#WEBQUERY#=http://scriptnidb.net/perl-bin/scriptnimedb.pl?show=animelist&adb.search=#MOVIE#

It would also be nice if maybe in the future you could add copy and paste support to the script editor, and maybe an advanced mode where you could directly edit the script. I know you can C&P in the little webpage text window, but I haven't found a use for that yet.

Please advise and thanks for the hard work.
Eidolen
6   L A T E S T    R E P L I E S    (Newest First)
eidolen Posted - 03 Apr 2009 : 00:31:47
Thanks much for your reply. This wasn't going anywhere so I started looking at other avenues. It seems anime is just too niche though I do believe it is an un-tapped market.

What I did come up with was staring me in the face the entire time though. AniDB actually makes a multitude of clients to basically do what I was trying to do with EMM. The cool thing is that it scans all your anime files and IDs them by CRC or ED2k and once it knows that it can fill in all the info automatically. (ie..Name,Series,Ep,Season,Type,Resolution,Fansub Group,etc...) This makes file renaming trivial as well with its built in utility. It also also retrieves the cover art and description for not only the anime in your collection, but it retrieves the entire database so you can search and explore the shows you don't have yet.

The real deal would be to have EMM parse your offline aniDB database and translate it to import into EMM properly. That would be the best of both worlds. At that point, I could use EMM to scan other anime sites to fill in some of the details that aniDB doesn't offer like cast, music, and so on, but at least I'd have the most important basic info to start with and anything more than that would be gravy.

Until then, I'll probably just keep 2 databases. Anidb-O-Matic for my Anime,(AOM for short) and EMM for everything else. If I attempt to write any script at all at this point, it would be to import my aniDB database into EMM. I just wish EMM had a dedicated "My Anime" tab to go along with with the "My Movies" and "My TV Shows" tabs. While I'm wishing I'd also wish for EMM to support Python Regular Expressions. That would make scripting easy enough for me and much more powerful at the same time.

Anyway, sorry to ramble. I appreciate the info and may have some info for you if you continue to try and make a script for aniDB. I stumbled upon a post in the aniDB forum that they frown upon any programs that try to access their servers for bulk queries. If you do manage to get something working, don't be surprised if it locks you out with big, bulk requests. Something to consider before you spend too much time on it. Otherwise if there is anything I can do to help, don't hesitate to ask.

Regards,
Eidolen

Thanks again
ginocic Posted - 02 Apr 2009 : 11:23:13
I also tried to write a script for AniDB.
The "...24 lines of jibberish garbage..." you mentioned are because the response for sever arrived to our browser in a compressed mode. Actually, the browsers know how decompress those lines.
I think the XMM Script Machine can not "decode" those lines in a correct way that's why of all those "24 lines of jibberish garbage".
And that's why your #WEBQUERY# works in a browser but it doesn't work in XMM.

I found a script to decompress them but is developed in Perl or Python but I don't know those languages and is too hard for me to understand how decompress the response from AniDB server.

At the moment, I'm using all my time finding a job but if you want i can help for that script in my spare time.
eidolen Posted - 29 Mar 2009 : 03:14:28
Any word yet on this or Animenewsnetwork? I was able to get some functionality out of the ANN script by changing

#CONDITIONRIGHTPAGE# #03#<>#04#
to
 #CONDITIONRIGHTPAGE# #03#==#04#


Now at least you can select the correct page and get some info, but the bulk is still broken and mostly over my head. =(

Thanks,
Eidolen
Alessio Viti Posted - 27 Mar 2009 : 12:35:31
Hi,

Sorry, was a bad setting in the forum, now it should not replace it anymore.

I will take a look at the website soon...

Alessio
eidolen Posted - 27 Mar 2009 : 04:14:29
wtf?

It is *NOT* scriptnidb. It is "anidb"

I even put the code brackets around it the second time but it keeps changing anidb to scriptnidb when I post.

Very Strange,
Eidolen
eidolen Posted - 27 Mar 2009 : 04:09:48
Don't know why, but it pasted the wrong command.

Will try it this way instead.

#WEBQUERY#=http://scriptnidb.net/perl-bin/scriptnimedb.pl?show=animelist&adb.search=#MOVIE#&do.search=search


Eidolen

BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.07 sec. Powered By: Snitz Forums 2000 Version 3.4.07