Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Gnurfel

Pages: [1]
1
Scripts and Templates / Jav Search scripts (Japanese Adult Videos)
« on: March 28, 2013, 08:17:25 pm »
Well hello.

I have for some time been fiddling with a few scripts to import data about JAV. I have managed to piece together a few scripts that do the work I want done, but not without some compromises. This makes the scripts a bit limited, but if used as intended they can provide some data that is nice to have.

The first thing I had to do was to decide how to identify the movies and figure out what to search for. I quickly came to the conclusion that searching for the Japanese was not very easy. I don't speak or read it, making it hard to deal with altogether. I had to resort to sort for something else. And to my luck there was something else to search for. They usually have a sort of generic name, based on producer/series and a sequence number. For example, the E-ody series that has the name "EBOD-???" where ??? is the number in the series.

This is what I use to search.  So in order to get information for a movie I need to have this name/ID thingy. It will search for whatever is in the fields, but in order to make it work properly this is best used.

What I opted to do is to set this ID as title, and leave original title empty.  The title I actually get from the script I place in "Also Known As". Had I put this as Original title this would be what is searched for next time you search for that film, and if the first site searched on does not have all relevant data this has to be changed. Now in hind sight I could have put my ID as original title and put the original title as title instead. But for now this will have to do. Should you want that it can be changed without to much problems by editing the scripts.

As an added note the title I get is not formated in a good way and I do have problems with it, you may wish to opt to not import that at all.

So what does it get that works?
It does if exists get the Cover, Year, Cast, Studio and Release Date.

The scripts are rough. And there are bugs in them, but they are mostly working. If you should opt to download them and find a bug let me know and I'll see what I can do. I've copied, stolen and adapted code back and forth so you might spot some odd parts, but most of the time it is working.

The scripts I've done are for
Avget.jp
Ludus1.com
Arzon.jp

The are listed in the order I use them.  The avget script is the one working best. Ludus1 works but when presented with more than one result it list more than it should. I'll see when I get time to solve that.

The arzon script is a bit special. It can not be used in any automatic way. Reason for that being that the Id searched for, can not be traced to any of the films on the result page, so even if only one result is found it wil not match but ask. But unless the movie is old the other two should find them.

Adding the scripts to the post.

[attachment deleted by admin]

2
Development / Re: Cookies ?
« on: March 15, 2013, 02:03:28 pm »
Tried a bit more, and I was not getting the result I'm hoping for. So here is the story.

Putting the base url to arzon.jp and using the redirect url that sets the cookies did not work.

I tried it in the browser. It worked, I copied everything after the  ".jp" , to the script.

Same result. Then I realised looking at what cookies was set and the host name in the address window.

I was missing a "www." in the baseurl.  ::)

Oh yes, we are rocking, first test result just returned the page I was trying to search for. So it does indeed work with cookies  ;D

So now back to the script and get something to actually read what I get. But that should not cause too much problems unless I manage to create yet another one of my lovely loops...  :-[

3
Development / Re: Cookies ?
« on: March 15, 2013, 01:17:49 pm »
Well if they are saved and passed to the next request, then nothing more should be needed. I might just have made an error somewhere.

Going to give it another try tonight. Seems pretty straight forward if the cookies are working. I did search on it here and did not find anything. Is there perhaps some knowledgebase  or guide somewhere that I have not found?

Thanks for the reply, hopefully I'll have something rough up and runing in an hour or two.


4
Development / Cookies ?
« on: March 14, 2013, 06:34:04 pm »
To make it short, I wanted to automate some of the annoying work of adding my collection of Jav to PVD. I already had a site I searched for the information but they use cookies for age verification. I have mostly worked around this by using two other sites to scrape info from, but they do lack some of the titles.

So, is there anway to work with these cookies in the script engine, or would I have to go further and build an entire plug in to achieve that?

The scrapers that I actually got working are for ludus1.com and avget.jp

Should anyone want them, let me know. But in essence they are just other scripts mutilated to do what I need them to. Get the posters, actors, release year and date.

Pages: [1]
anything