English > Scripts and Templates

AdultDVDEmpire script

<< < (6/15) > >>

oenghus:
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

GazonkFoo:
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: ---//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');

--- End code ---

The log output shows that AddImageURL is in fact called:

--- Code: ---poster: http://cdn3c.adultempire.org/products/49/1609649h.jpg, back: http://cdn3c.adultempire.org/products/49/1609649bh.jpg
--- End code ---

oenghus:
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.

oenghus:

--- Quote from: 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.

--- End quote ---

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)

GazonkFoo:
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]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version