English > Scripts and Templates

AllMovie.com_new movie script

<< < (6/22) > >>

afrocuban:
Is it just me, or AllMovie_New script doesn't work? Cannot import rating, Studio, Synopsis and Reviews fields that I use?

Ivek23:

--- Quote from: afrocuban on March 04, 2013, 09:18:51 pm ---Is it just me, or AllMovie_New script doesn't work? Cannot import rating, Studio, Synopsis and Reviews fields that I use?
--- End quote ---

PVD v0.9.9.21

All of the above work unless Reviews. Try the attached script, if everything works, then I'll uploaded on Download page.

Your version of PVD is ...

[attachment deleted by admin]

afrocuban:
I apologize. I didn't realize there is no editor's rating as well as Studio's name for a movie El infierno at Allmovie.com. It works, actually.

Sorry, once again and thank you for your assistance!

Ivek23:

--- Quote ---
--- Quote from: afrocuban on March 04, 2013, 09:18:51 pm ---Is it just me, or AllMovie_New script doesn't work? Cannot import rating, Studio, Synopsis and Reviews fields that I use?
--- End quote ---

--- Quote from: afrocuban on March 05, 2013, 11:41:42 pm ---I apologize. I didn't realize there is no editor's rating as well as Studio's name for a movie El infierno at Allmovie.com. It works, actually.

Sorry, once again and thank you for your assistance!
--- End quote ---

--- End quote ---

It's okay, for such matters are otherwise does not need to apologize. It is correct to draw attention to the potential problems in the functioning of the script, so other users will not have any problems with data transfers, because eliminating all the possible problems. That's why we're here (the author of this script, the moderator and other users) to help you solve the problem.

Script will be added to the download page today or at the latest tomorrow.

Ivek23:
AllMovie.com_new script
v 0.1.1.1.

I fixed ParseReview:
piece of code
--- Code: ---procedure ParseReview(HTML : String);
var
curPos, endPos : Integer;
TmpStr, TmpStr1, TmpStr2, TmpStr3, TmpStr4, TmpStr5 : String;
begin
curPos := Pos('<div class="tab-title">', HTML);
if curPos < 1 then
Exit;

//~Review~
--- End code ---
I switched to this part of the code

--- Code: ---procedure ParseReview(HTML : String);
var
curPos, endPos : Integer;
TmpStr, TmpStr1, TmpStr2, TmpStr3, TmpStr4, TmpStr5 : String;
begin
curPos := Pos('<div class="tabset-content main-tab-pane">', HTML);
if curPos < 1 then
Exit;

//~Review~
--- End code ---

Now ParseReview works.

Notice:
The new version of the script is added to the Download page.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Reply

Go to full version