Personal Video Database

English => Development => Scripts and Templates => Topic started by: oenghus on June 05, 2012, 05:27:10 pm

Title: AdultDVDEmpire script
Post by: oenghus on June 05, 2012, 05:27:10 pm
It looks like they have changed the whole search method as it returns the URL http://www.adultdvdempire.com/DVD/Search and no results.

Title: Re: adultdvdempire.com search not working
Post by: AimHere on June 11, 2012, 07:31:48 pm
Yes, it's true... the layout and HTML code of the search-results pages have completely changed, as have the actual movie pages. This has completely broken the adultdvdempire script.  :(

I've been kind of maintaining the adultdvdempire script for a couple of years, but I've only had to make minor tweaks as the site layout changed. I'm no programmer, and a site revision of this magnitude is simply beyond my capabilities. I just don't have the time or skills to deal with it, unfortunately.

I really, really wish I knew WHO had written the ORIGINAL adultdvdempire script. Whomever it was would be better equipped to deal with this change. Anyone know???

Barring that, any aspiring script-writers out there who want to pick up the ball and run with it?

Aimhere
Title: Re: adultdvdempire.com search not working
Post by: joc on June 19, 2012, 12:05:54 am
Modified to work with the new layout (not testet much)

[attachment deleted by admin]
Title: Re: adultdvdempire.com search not working
Post by: AimHere on June 20, 2012, 06:01:15 am
Hey, thanks, joc!

Checking it out now... works mostly, though it seems to mix up the actors and directors a little. It selects the last actor listed under "Cast" as the director if no director is specifically listed. And even where a director(s) ARE given, it still selects the last (non-director) cast member as a director anyway. In both cases, the erroneous "director" isn't properly added to the "Actors" field in PVD.

But it's a definite improvement over the non-working old script. (Beats entering EVERYthing manually.) ;D

Aimhere
Title: Re: adultdvdempire.com search not working
Post by: joc on June 20, 2012, 07:07:54 am
[...] It selects the last actor listed under "Cast" as the director if no director is specifically listed. And even where a director(s) ARE given, it still selects the last (non-director) cast member as a director anyway. In both cases, the erroneous "director" isn't properly added to the "Actors" field in PVD.
[...]

Aimhere

Yes, the actors and directors is a problem. I thougt that i had managed to get it right, i will try to fix it ...
Title: Re: adultdvdempire.com search not working
Post by: joc on June 20, 2012, 09:13:45 am
New version! Fixed Director/Actor glitch :-X

Let me know of other errors, and i will try to fix them too.

[attachment deleted by admin]
Title: Re: adultdvdempire.com search not working
Post by: Stan on June 23, 2012, 01:27:54 pm
Thanks a lot for the new script version!  :)

Is there a possibility to include also the back covers?
Title: Re: adultdvdempire.com search not working
Post by: oenghus on June 24, 2012, 12:54:58 am
Thanks joc  ;D

I've tried a few movies but it sometimes creates duplicates.

I had a go at identifying what happens and it seems to be with titles where the search returns multiple results. When you see the results from the search in the Select Movie dialog, each title has a check box. If you click the check box twice (to see the tick) and watch the status bar, you can see that the script is running twice as it updates the movie and then loads the image again. If the movie title contains an apostrophe, it created a duplicate with the studio as the title field.

I've also had the Select Movie dialog again after updating the movie where it displays a list of movies with no search criteria which may be related, but I cannot reproduce this.

That's as far as I have managed to track but I hope it makes sense. I've not looked at scripting much as yet but I'll see what other debug may be available.

Thanks again for your help with getting the script going again.

Oenghus
Title: Re: adultdvdempire.com search not working
Post by: joc on June 25, 2012, 04:13:39 pm
[...]
I had a go at identifying what happens and it seems to be with titles where the search returns multiple results. When you see the results from the search in the Select Movie dialog, each title has a check box. If you click the check box twice (to see the tick) and watch the status bar, you can see that the script is running twice as it updates the movie and then loads the image again. If the movie title contains an apostrophe, it created a duplicate with the studio as the title field.

I've also had the Select Movie dialog again after updating the movie where it displays a list of movies with no search criteria which may be related, but I cannot reproduce this.
[...]
Oenghus

The same is happening for me with iafd, i think its happening with all import-plugins when checkmarking items in the select movie dialog, but i will have a look!
Title: Re: adultdvdempire.com search not working
Post by: oenghus on June 26, 2012, 01:13:53 am
I probably wouldn't have noticed but I was testing with a movie that had an apostrophe in the title and I saw the duplicate.

I'll also try with other plugins.

Thanks.
Title: Re: adultdvdempire.com search not working
Post by: oenghus on June 26, 2012, 01:44:35 am
You're right joc, other plugins do run twice when checked but not if unchecked or indeterminate. Try "Ghostbusters" and import from IMDB (IMDB uses data from loads of different pages) to see the extras parsing after the fields in PVD have been updated.

It does seem to be a peculiarity of adultdvdempire that it creates the extra movie entries. Is something happening with apostophes in the title so that when the selection is checked and the script runs the 2nd time , is it assuming it has a different movie because of the apostrophe and creating a new movie entry ?

Title: Re: adultdvdempire.com search not working
Post by: joc on June 26, 2012, 09:39:51 am
You're right joc, other plugins do run twice when checked but not if unchecked or indeterminate. Try "Ghostbusters" and import from IMDB (IMDB uses data from loads of different pages) to see the extras parsing after the fields in PVD have been updated.

It does seem to be a peculiarity of adultdvdempire that it creates the extra movie entries. Is something happening with apostophes in the title so that when the selection is checked and the script runs the 2nd time , is it assuming it has a different movie because of the apostrophe and creating a new movie entry ?

OK! I'm taking a look at how its handled in the imdb-script (will take some time :-)
Title: Re: adultdvdempire.com search not working
Post by: Ivek23 on June 26, 2012, 01:56:41 pm
Quote
Do not expect that it will take the fast way to edit the script. Thank you. Maybe, somehow, do not rush, trivia fix?
Actors are added with the wrong links.
For example, the
http://www.adultdvdempire.com <a href = "/ 631043/barbie-white-pornstars.html"
And before you know the script, and on persons to correct?
Reported this bug I found in the Russian part of the Forum, so I forwarded the reported error in English part of the forum.
I apologize and I hope that this is not nothing wrong when I reported error intervened in the English part of the forum.
Title: Re: adultdvdempire.com search not working
Post by: joc on June 26, 2012, 09:41:58 pm
Quote
Do not expect that it will take the fast way to edit the script. Thank you. Maybe, somehow, do not rush, trivia fix?
Actors are added with the wrong links.
For example, the
http://www.adultdvdempire.com <a href = "/ 631043/barbie-white-pornstars.html"
And before you know the script, and on persons to correct?
Reported this bug I found in the Russian part of the Forum, so I forwarded the reported error in English part of the forum.
I apologize and I hope that this is not nothing wrong when I reported error intervened in the English part of the forum.

You're right, I will fix it!
Title: Re: adultdvdempire.com search not working
Post by: AimHere on July 01, 2012, 04:00:38 pm
Keep up the good work, joc!   :)
Title: Re: AdultDVDEmpire script
Post by: AimHere on July 09, 2012, 01:02:34 am
Okay, I know I said I wasn't going to be working on this script myself anymore, but there were a couple of bugs in joc's last version that were... well, bugging me.  ;D

I fixed the one Ivek23 reported (where 'a href="' was showing up in the middle of actor URLs). I also got rid of garbage "/>" strings from the movie descriptions (the way I did it isn't terribly elegant, but I don't feel like completely rewriting that part).

Bumped version number to 0.1.1.2.

Aimhere

[attachment deleted by admin]
Title: Re: AdultDVDEmpire script
Post by: joc on July 09, 2012, 10:17:31 am
Okay, I know I said I wasn't going to be working on this script myself anymore, but there were a couple of bugs in joc's last version that were... well, bugging me.  ;D

I fixed the one Ivek23 reported (where 'a href="' was showing up in the middle of actor URLs). I also got rid of garbage "/>" strings from the movie descriptions (the way I did it isn't terribly elegant, but I don't feel like completely rewriting that part).

Bumped version number to 0.1.1.2.

Aimhere

Sorry about the delay, I know i said i was going to fix things, but I had a little accident. I had corrected the garbage "/>" strings but then I went to the hospital :-)


Edit: new import of tagline in "tagline-field" & description in "description-field" (v.0.1.1.3) :)

[attachment deleted by admin]
Title: Re: AdultDVDEmpire script
Post by: AimHere on July 13, 2012, 09:57:15 pm
Thanks again, joc!
Title: Re: AdultDVDEmpire script
Post by: Ivek23 on July 14, 2012, 06:16:24 am
Thanks again, joc!
+1
Title: Re: AdultDVDEmpire script
Post by: GazonkFoo on August 03, 2012, 10:07:47 pm
Hi,
first of a big THX for the work you put in this.
But somehow the script is still (or maybe again) broken for me.
Especially the studio and year fields often end up in a huge mess (containing a lot of html code etc).

First i thought about fixing it in your script but then i decided to start from scratch to learn some pascal.   :P
When looking through the source you might notice i'm actually a java dev - so my code style is probably not very "pascal like".   :-[

[attachment deleted by admin]
Title: Re: AdultDVDEmpire script
Post by: joc on August 04, 2012, 02:12:58 am
Hi,
first of a big THX for the work you put in this.
But somehow the script is still (or maybe again) broken for me.
Especially the studio and year fields often end up in a huge mess (containing a lot of html code etc).

First i thought about fixing it in your script but then i decided to start from scratch to learn some pascal.   :P
When looking through the source you might notice i'm actually a java dev - so my code style is probably not very "pascal like".   :-[

You're right it's broken again. I don't use that script very much, so I didn't notice.

Your script works, that's what matters 8), - and I'm no programmer myself, so i don't mind if it's not "pascal-like"  ;D
Title: Re: AdultDVDEmpire script
Post by: GazonkFoo on August 04, 2012, 04:41:24 pm
i converted my script to pascal style (according to http://edn.embarcadero.com/article/10280 and the other scripts) so others can pick this up.

furthermore i extended the script so everything available on ADE should now be parsed.
the following fields are handled: title, studio, year, poster (front and back), tagline, description, actors, directors, producers, genre, features, mpaa, rating, release date, duration

[attachment deleted by admin]
Title: Re: AdultDVDEmpire script
Post by: joc on August 04, 2012, 05:10:57 pm
i converted my script to pascal style (according to http://edn.embarcadero.com/article/10280 and the other scripts) so others can pick this up.

furthermore i extended the script so everything available on ADE should now be parsed.
the following fields are handled: title, studio, year, poster (front and back), tagline, description, actors, directors, producers, genre, features, mpaa, rating, release date, duration

Impressive work, thanks :) (Let's hope they don't make any more major changes >:()
Title: Re: AdultDVDEmpire script
Post by: oenghus on August 14, 2012, 04:12:15 am
i converted my script to pascal style (according to http://edn.embarcadero.com/article/10280 and the other scripts) so others can pick this up.

furthermore i extended the script so everything available on ADE should now be parsed.
the following fields are handled: title, studio, year, poster (front and back), tagline, description, actors, directors, producers, genre, features, mpaa, rating, release date, duration

Thanks for taking this on.  :)

I discovered a couple of issues as I don't get any posters and the description isn't complete and has <p> tag at the beginning.
Title: Re: AdultDVDEmpire script
Post by: GazonkFoo on August 14, 2012, 06:22:59 pm
Thanks for pointing this out - they indeed changed something in the description.
Find attached the new script where this should be fixed.

However i cannot reproduce the poster not loading stuff :(
Can you please tell me on which movie(s) this happens?

[attachment deleted by admin]
Title: Re: AdultDVDEmpire script
Post by: oenghus on August 15, 2012, 12:10:05 am
I'm using PVD 1.0.2.3.

I can't get posters for any film from Adult DVD Empire but try:

    http://www.adultdvdempire.com/1609649/countdown-porn-movies.html

I created a new database and then added the title. When I import using your latest script I get everything except the posters.

If I go back to version  0.1.1.1 of the script and recompile, I get the poster.

Thanks
Title: Re: AdultDVDEmpire script
Post by: GazonkFoo on August 15, 2012, 12:43:12 am
Just tried the movie in PVD 0.9.9.21 and 1.0.2.3
The posters (front & back) work in 0.9 and as you said won't load in 1.0 :(

I don't have a clue why this is broken in the new version, so maybe one of the devs could help me out.

This is the affected piece of code (line 148 in my script):
Code: [Select]
//Poster (Front & Back)
  PosterURL := HTMLValue(HTML, 0, 0, '<div id="Boxcover"><a href="', '"');
  BackPosterURL := StringReplace(PosterURL, 'h.jpg', 'bh.jpg', False, True, False);
  if (PosterURL <> '') and (BackPosterURL <> PosterURL) then
  begin
    LogMessage('poster: '+ PosterURL +', back: '+ BackPosterURL);
    AddImageURL(0, PosterURL);
    AddImageURL(0, BackPosterURL);
  end else
    LogMessage('poster not found');

The log output shows that AddImageURL is in fact called:
Code: [Select]
poster: http://cdn3c.adultempire.org/products/49/1609649h.jpg, back: http://cdn3c.adultempire.org/products/49/1609649bh.jpg
Title: Re: AdultDVDEmpire script
Post by: oenghus on August 15, 2012, 02:17:11 am
I've tried another script that uses AddImageURL and that doesn't save the poster either but I know that it used to work before I upgraded from 0.9.9.21.

Thanks for investigating.
Title: Re: AdultDVDEmpire script
Post by: oenghus on August 18, 2012, 02:06:48 am
Just tried the movie in PVD 0.9.9.21 and 1.0.2.3
The posters (front & back) work in 0.9 and as you said won't load in 1.0 :(

I don't have a clue why this is broken in the new version, so maybe one of the devs could help me out.

I've reverted back to 0.9.9.21 until the issue with AddImageURL is fixed.  :(

I may move the text that you add for the Tagline into the Description as I use the Tagline for something else.

Thanks for all your work. 8)

Title: Re: AdultDVDEmpire script
Post by: GazonkFoo on August 18, 2012, 12:14:43 pm
Oh wait you don't have to go back to 0.9.9.21.
Find attached a version which only downloads the front cover (so there's no need for AddImageURL).

[attachment deleted by admin]
Title: Re: AdultDVDEmpire script
Post by: cooltj on August 25, 2012, 01:53:49 pm
Hello. Can someone fix the old script "adultdvdempire_person.psf"?

[attachment deleted by admin]
Title: Re: AdultDVDEmpire script
Post by: GazonkFoo on August 26, 2012, 12:51:36 am
Find attached the new person script.

Handled values:
Name, Photo, Altnames, Birthplace, Birthday, Comment

The Biography field is filled with weight, height, eye color, measurements, hair color and ethnicity.

[attachment deleted by admin]
Title: Re: AdultDVDEmpire script
Post by: GazonkFoo on August 27, 2012, 07:36:17 pm
I would like to publish the new scripts to the automatic update system but before i can do that i need some more testers.
So it would be really helpful if everyone could download the scripts from my last two posts and give me some feedback.

Thanks guys!!


btw if anyone needs a PVD script feel free to drop me a PM ;)
Title: Re: AdultDVDEmpire script
Post by: AimHere on August 28, 2012, 02:05:38 pm
Hey Gazonk,

It's great that you've decided to pick this up! For awhile, I was trying to maintain the original ADE script (updating for ADE website changes)... but not having written it myself, I always felt like I was just stumbling in the dark. ;D

First joc pitches in, and now you. Thanks!!!

Aimhere
Title: Re: AdultDVDEmpire script
Post by: GazonkFoo on August 28, 2012, 06:05:15 pm
Hi AimHere,

i did my best to clean up the code and i think it should be pretty easy to understand whats going on now 8)
so feel invited to contribute (but of course i will also maintain it) ;)

btw what do you guys think about moving this and other scripts/plugins to a project hosting site (e.g. google code, github, sourceforge)?
not having the code under version control makes me nervous.
Title: Re: AdultDVDEmpire script
Post by: Ivek23 on August 28, 2012, 07:30:23 pm
btw what do you guys think about moving this and other scripts/plugins to a project hosting site (e.g. google code, github, sourceforge)?
not having the code under version control makes me nervous.

There are therefore versions and updates. You can then also final or updated version added to for the auto-update system.

We'll see, what he says to this Nostra or Moderator.
Title: Re: AdultDVDEmpire script
Post by: rick.ca on August 28, 2012, 10:00:56 pm
not having the code under version control makes me nervous.

Why? It's a simple script. It's easy enough to apply your own version control by assigning version numbers and maintaining a change log in the script. Ivek and I worked together on the AllRovi script, and had no difficulty through many development versions and several bug fix versions after release to the auto-update system.

If the project is complicated and/or there are more than a few people working on, you may find a more formal form of version control beneficial. But it shouldn't be assumed to be necessary in all cases.
Title: Re: AdultDVDEmpire script
Post by: GazonkFoo on August 28, 2012, 10:33:32 pm
Well it's much easier to follow changes and track issues than in a forum.
Keeping changelogs in the source code is something i really dislike.

Ok i must admit i normaly work on larger scale projects and i'm actually a fulltime developer but for me there's no downside of this. I don't see how more than two people can work on anything without a VCS (it's already hard for two to work in parallel).

Setting up a project on any of the hosting sites is a matter of seconds.
Title: Re: AdultDVDEmpire script
Post by: rick.ca on August 28, 2012, 11:32:06 pm
I don't know how I can be more clear. Do what you please. If you're working with another developer, that person will no doubt agree. It might even be a good idea for two or more amateurs working on a project. But the method doesn't need to be imposed on anyone.
Title: Re: AdultDVDEmpire script
Post by: AimHere on October 07, 2013, 06:23:10 pm
I think the ADE script on the Downloads page ought to be replaced with GazonkFoo's version.

I had been using the old version (0.1.1.something) but ADE made another change to their HTML that broke the old script. Basically, the script was searching for a tag that delimits some of the info it extracts from the webpages, but ADE started using two variations of the tag, so the script went into an infinite loop. :P I figured out how to fix the old script, but it's really just a band-aid. GazonkFoo's version handled the same search without any problems, so why bother with the old one anymore...

aimhere
Title: Re: AdultDVDEmpire script
Post by: AimHere on February 19, 2015, 05:24:53 am
pra15 fixed the script to handle a change in ADE's page format. They added a "video preview" option to all newer DVDs, which broke the extraction of poster/cover images. (ref: http://www.videodb.info/forum_en/index.php/topic,3966.0.html (http://www.videodb.info/forum_en/index.php/topic,3966.0.html))

Attached is a complete copy of the script with the changes. This is based on GazonkFoo's version of the script. (I added the ability to disable the downloading of back-cover images, it's controlled by a flag in the "const" section at the top.)

Note: the "AdultDVDEmpire" script posted on the PVD Downloads page (labelled as 0.1.1.1) DOES NOT WORK with the current ADE website layout. In fact, it will lock up Personal Video Database if run! The script version written by GazonkFoo (with mod by pra15) does work.
Title: Re: AdultDVDEmpire script
Post by: scarlite on April 07, 2015, 11:50:41 pm
Thankyou so much! Been tearing my hair out trying to get the old one working. Thought it was something I'd done.
Title: Re: AdultDVDEmpire script
Post by: pra15 on June 27, 2015, 11:19:21 am
AdultDvdEmpire change code in the results page. PVD put the page result as URL of the movie.

Modification of the procedure parsesearchresult :

Code: [Select]
procedure ParseSearchResults(HTML: string);
var
  ItemStart, ItemEnd: Integer;
  Title, Studio, Year, URL, Preview: string;
begin
  ItemStart := Pos('Category "List Page" Label="Boxcover">', HTML);
  while ItemStart > 0 do
  begin
    ItemEnd := PosFrom('Category "List Page" Label="Boxcover">', HTML, ItemStart+1);

    URL := BASE_URL + HTMLValue(HTML, ItemStart, ItemEnd, '<h3><a href="', '"');
    Preview := HTMLValue(HTML, ItemStart, ItemEnd, 'Label="Boxcover"><img src="', '"');
    Title := HTMLValue(HTML, ItemStart, ItemEnd, 'Label="Title">', '</a>');
    Studio := HTMLValue(HTML, ItemStart, ItemEnd, 'studio</small>', '</a>');
    Year := HTMLValue(HTML, ItemStart, ItemEnd, '<small>(', ')</small>');

    LogMessage('title: '+ Title +', studio: '+ Studio +', year: '+ Year +', url: '+ URL +', preview: '+ Preview);
    AddSearchResult(Title, Studio, Year, URL, Preview);

    ItemStart := ItemEnd;
  end;
end;

In the results page on AdultDVDEmpire, the movie must have a thumbnail to work.
I tried it and it seems to work.

I don't know the version of my script but like said Aimhere in the precedent message i suppose it is based of Gazonfoo's script.
Title: Re: AdultDVDEmpire script
Post by: AimHere on July 05, 2015, 08:30:19 pm
Thanks, pra15!

Here is the complete script, version bumped to 0.1.2.4 now.

I had to make a minor edit, ADE changed the HTML near the "Matches Found" text (the script wouldn't interptret it properly otherwise). But it seems to work now.

Aimhere
Title: Re: AdultDVDEmpire script
Post by: pra15 on July 08, 2015, 12:32:00 am
Thanks AimHere,

I saw sometimes the URL is not find, i have modified search results and change the method to find URL.

I have made some tests, it seems to be OK now.
Title: Re: AdultDVDEmpire script
Post by: pra15 on July 17, 2015, 10:20:44 pm
AdultDvdEmpire change script of movie page.

A little modification to find poster url.
Title: Re: AdultDVDEmpire script
Post by: AimHere on July 26, 2015, 07:12:37 pm
Thanks again, pra!
Title: Re: AdultDVDEmpire script
Post by: woland68 on August 02, 2015, 04:43:11 pm
I found a bug in the script (latest version, 0.1.2.5)  :-\
when the discharge cover, the first cover (front) is replaced with the rear (back)
not all the titles this happens, and strange  ???
I posted a video to understand

https://mega.co.nz/#!ldZAgQpC!d20HOAveRusQ1mnjowcI9PaA3rbP5kAPnbm9TTp9shg

Thanks
Title: Re: AdultDVDEmpire script
Post by: AimHere on August 02, 2015, 06:32:42 pm
Huh. I haven't had much of a chance to play around with the new script yet. Maybe pra15 has an idea...

(By the way, ADE *really* needs to stop mucking with their site design. The new page layouts are God-awful! :P)
Title: Re: AdultDVDEmpire script
Post by: AimHere on August 09, 2015, 06:07:43 pm
A couple of (minor) fixes...

I noticed the script wasn't importing Tagline, Description, or Customer Rating ("Additional Rating") anymore. Fixed this, new version 0.1.2.6 attached.

Note that ADE now uses the movie title as a tagline by default when a movie doesn't have a specific tagline. So the "Tagline" field will receive text for every movie now, regardless of whether it's really a tagline or not. This can't be worked around, unfortunately. (If I were really clever, I'd compare the extracted "tagline" to the movie title, and set the tagline to null if they matched. If I were clever. :) )

Also, note that ADE changed the way the movie categories (genres) are listed, breaking the script. So the script isn't importing that info right now. This is going to take some work to fix (the categories/genres are going to have to be parsed the same way actors are parsed), and I'm not quite able to wrap my head around the problem right now...

Aimhere
Title: Re: AdultDVDEmpire script
Post by: AimHere on August 09, 2015, 09:20:37 pm
More fixes... script wasn't finding Genre or Studio or Duration or Release Date, the list of actors was getting extra (bad) entries, the director's name was getting extra text appended to it, the Release Date was formatted incorrectly (and not stored). And, if a producer was present, the script would go into an infinite loop (yikes!) because it wasn't being parsed correctly.

Hopefully this covers most of the recent site changes.

Aimhere
Title: Re: AdultDVDEmpire script
Post by: AimHere on February 22, 2017, 08:21:58 pm
Sorry I haven't been updating the script, haven't been able to work with PVD much lately.

More changes on ADE website. Script wasn't finding the production year, tagline or description... fixed.

Also, I discovered that not only was the film duration not being calculated correctly (its value should be in seconds, not minutes), but it wasn't even being saved to the correct XML field (and thus not actually being saved at all).

aimhere

(As always, save as "adultdvdempire.psf" in the scripts folder.)
Title: Re: AdultDVDEmpire script
Post by: AimHere on February 26, 2017, 06:24:41 pm
One more bug I discovered, when you run the script it does a search on ADE based on your specified movie title, and displays a list of the matches found in a window so you can select the best match. But the last item in said list is always blank... and if the search only returned one hit to begin with, then all you get is a blank box.

I'll try to work on this when I can, but considering ADE's search engine always returns dozens of hits for almost every search, it's not a real high priority for me.

aimhere
Title: Re: AdultDVDEmpire script
Post by: Ivek23 on November 28, 2017, 06:06:05 pm
For details, see the link below:

http://www.videodb.info/forum_en/index.php/topic,4108.msg20242.html#msg20242


New adultdvdempire-0.1.2.9 script is attach.
Title: Re: AdultDVDEmpire script
Post by: AimHere on December 31, 2017, 07:35:35 pm
Updated script due to ADE HTML changes (again)...

(Note: this does not solve the use of enforced HTTPS on ADE, see http://www.videodb.info/forum_en/index.php/topic,4083.0.html and http://www.videodb.info/forum_en/index.php/topic,4108.0.html for help with that.

aimhere
Title: Re: AdultDVDEmpire script
Post by: NetworkShark on October 15, 2023, 11:11:13 pm
Hi guys and gals!!!

I rewrote this script and now you have a new version 0.2.0.0 0.2.1.0 (beta).
(I'have bugfixed the path and creation of the temp folder)

Now the scripts use curl as a solution to the HTTPS problem.

If anyone would like to test this script, I will be happy.

Thank you
Title: Re: AdultDVDEmpire script
Post by: Ivek23 on October 18, 2023, 02:07:45 pm
I am testing the script, I described the problems to you in a private message. Here I am attaching a script where I have added log messages for better error finding. I suggest that these log messages be added in future AdultDVDEmpire script versions.
Title: Re: AdultDVDEmpire script
Post by: NetworkShark on October 18, 2023, 02:40:22 pm
I am testing the script, I described the problems to you in a private message. Here I am attaching a script where I have added log messages for better error finding. I suggest that these log messages be added in future AdultDVDEmpire script versions.

Thank you a lot.

Sorry for absence of log message, I have cleaned code too much  ;D
Title: Re: AdultDVDEmpire script
Post by: Ivek23 on October 18, 2023, 03:36:49 pm
I am testing the script, I described the problems to you in a private message. Here I am attaching a script where I have added log messages for better error finding. I suggest that these log messages be added in future AdultDVDEmpire script versions.

Thank you a lot.

Sorry for absence of log message, I have cleaned code too much  ;D
 
No problem. Here now the log file.
Title: Re: AdultDVDEmpire script
Post by: NetworkShark on October 18, 2023, 06:03:56 pm
Here is a new beta, 0.2.3.0 thanks to Ivek's help.

The list of movies was:
Title: Re: AdultDVDEmpire script
Post by: Ivek23 on October 19, 2023, 08:04:18 am
Log1 and log2 files have been added to the forum.

In the new script version, a new error was discovered and a new log (2) file was added. The error is visible at the end of the log file.

Title: Re: AdultDVDEmpire script
Post by: Ivek23 on October 19, 2023, 08:26:45 am
Here is a new beta, 0.2.3.0 thanks to Ivek's help.

The list of movies was:
  • would you like to know!!!
  • will remain a secret unless Ivek reveals it

I will explain below how this is the case.

I will not publish the addresses publicly because there is one rule on this forum that does not allow public advertising and posting of porn content or porn addresses. This does not mean that, for example, this or some other script (on this topic) or log files may not be published. On the contrary, everything can be published, just in a concrete way.


As such, these addresses are not for public publication, but can be found in the log files.

And this:
I am testing the AdultDVDEmpire script in order to find and correct errors, so that later the script will work correctly and transfer certain information correctly.
Title: Re: AdultDVDEmpire script
Post by: NetworkShark on October 19, 2023, 09:11:33 am
Log1 and log2 files have been added to the forum.

In the new script version, a new error was discovered and a new log (2) file was added. The error is visible at the end of the log file.

And a new beta: 0.2.4.0

Here is a new beta, 0.2.3.0 thanks to Ivek's help.

The list of movies was:
  • would you like to know!!!
  • will remain a secret unless Ivek reveals it

I will explain below how this is the case.

I will not publish the addresses publicly because there is one rule on this forum that does not allow public advertising and posting of porn content or porn addresses. This does not mean that, for example, this or some other script (on this topic) or log files may not be published. On the contrary, everything can be published, just in a concrete way.


As such, these addresses are not for public publication, but can be found in the log files.

And this:
I am testing the AdultDVDEmpire script in order to find and correct errors, so that later the script will work correctly and transfer certain information correctly.


Sorry Ivek, I just wanted to make some jokes to see if anyone participated.
Title: Re: AdultDVDEmpire script
Post by: Ivek23 on October 19, 2023, 09:38:45 am
Log1 and log2 files have been added to the forum.

In the new script version, a new error was discovered and a new log (2) file was added. The error is visible at the end of the log file.

And a new beta: 0.2.4.0

Here is a new beta, 0.2.3.0 thanks to Ivek's help.

The list of movies was:
  • would you like to know!!!
  • will remain a secret unless Ivek reveals it

I will explain below how this is the case.

I will not publish the addresses publicly because there is one rule on this forum that does not allow public advertising and posting of porn content or porn addresses. This does not mean that, for example, this or some other script (on this topic) or log files may not be published. On the contrary, everything can be published, just in a concrete way.


As such, these addresses are not for public publication, but can be found in the log files.

And this:
I am testing the AdultDVDEmpire script in order to find and correct errors, so that later the script will work correctly and transfer certain information correctly.


Sorry Ivek, I just wanted to make some jokes to see if anyone participated.

It's fine, no problem for you, I wrote it, so other users also know about it.
Title: Re: AdultDVDEmpire script
Post by: Ivek23 on October 20, 2023, 09:52:36 am
In the AdultEmpire.com[EN][HTTPS]_ b2 script, I added some fixes to the function

GetMovieBackCover
ParseMovieCasts 
GetMovieSynopsis

and a few more custom fields.

MAX_SEARCH_PAGES should be limited to 10 search pages.
Title: Re: AdultDVDEmpire script
Post by: NetworkShark on October 20, 2023, 04:22:20 pm
In the AdultEmpire.com[EN][HTTPS]_ b2 script, I added some fixes to the function

GetMovieBackCover
ParseMovieCasts 
GetMovieSynopsis

and a few more custom fields.

MAX_SEARCH_PAGES should be limited to 10 search pages.

Thanks to Ivek for the improvements and suggestions provided!

I can now share with you the new version (beta) 0.2.5.0 0.2.5.1.

Title: Re: AdultDVDEmpire script
Post by: Ivek23 on October 25, 2023, 06:45:52 am
In the AdultEmpire.com[EN][HTTPS]_ b3 script, I added some fixes to the function

GetStudioSearchResult
ParseSearchResultIndex
GetMovieYear
GetMovieSynopsis

and some more code fixes for custom fields functions.

I also added the function GetUrlMovieIDSearchResult, which is helpful for easier checking and possible errors in the search results.

I removed this piece of code.
Code: [Select]
AddFieldValueXML('code', retStr);
Title: Re: AdultDVDEmpire script
Post by: NetworkShark on October 25, 2023, 11:33:36 am
New bugfixing, Ivek it's a good beta tester!

Here new beta version 0.2.7.1
Title: Re: AdultDVDEmpire script
Post by: NetworkShark on October 27, 2023, 10:48:06 am
I've bugfixed another issue: duplicating actors\directors on people view.

Beta version: 0.2.7.2
Title: Re: AdultDVDEmpire script
Post by: Ivek23 on October 31, 2023, 03:08:08 pm
In the AdultEmpire.com[EN][HTTPS]_ b4 script, I added some fixes to the function and add some new function codes to transfer information.
Title: Re: AdultDVDEmpire script
Post by: NetworkShark on November 02, 2023, 12:12:00 pm
In the AdultEmpire.com[EN][HTTPS]_ b4 script, I added some fixes to the function and add some new function codes to transfer information.

Thanks to Ivek23, we have a new version of script: 0.2.8.1
Title: Re: AdultDVDEmpire script
Post by: Ivek23 on November 08, 2023, 10:46:13 am
In the AdultEmpire.com[EN][HTTPS]_ b5 script, I added some fixes to the function and add some new function codes to transfer information. Added some new functions to transfer information, because otherwise it didn't transfer some information before.
Title: Re: AdultDVDEmpire script
Post by: Ivek23 on November 16, 2023, 02:17:12 pm
In the AdultEmpire.com[EN][HTTPS]_ b6 script, I added some fixes to the function and add some new function codes to transfer information. Added some new functions to transfer information, because otherwise it didn't transfer some information before.

Fixes  function:

RemoveTagsEx or multiple versions of this function

GetMoviePerformer
ParseMovieDirector
GetMoviePerformers
ParseMovieCastss
GetMoviePerformer_det
ParseMovieCast_det
ParseMovieDirector_det
GetMovieSynopsis
GetMovieSynopsiss
ParseMoviePage

New  function:

ParseMovieProducer_det
GetMovieLengths

Now, Length is also edited to pass the length of the movie into the normal Length field.

Some new pieces of code are added to the ParseMoviePage function to transfer information.

In adultempire.cfg.psf you have a list of custom fields and also User Options for certain settings when searching for results and downloading movie images.

For the .psf extension, I suggest using the Notepad++ program as well as for opening this extension. PVDscript can be nicely edited with it.

The script is now also ready as a final version. There may be some corrections, but then it will be added to the forum as the latest final version.