The question of different records for the length of the movies:
Example 1:
The source code the length of the movie the web site:
<tr><td valign="top">Notes: </td><td width="100%" class="notes">72 mins</td>
or
<tr><td valign="top">Notes: </td><td width="100%" class="notes">72 minutes</td>
or
<tr><td valign="top">Notes: </td><td width="100%" class="notes">1 hr 12 mins</td>
or
<tr><td valign="top">Notes: </td><td width="100%" class="notes">Doll Prod., 72 mins.</td>
or
<tr><td valign="top">Notes: </td><td width="100%" class="notes">Doll Prod., 1 hr 12 mins.</td>
Example 2:
The source code the length of the movie the web site:
<tr><td valign="top">Notes: </td><td width="100%" class="notes">112 mins</td>
or
<tr><td valign="top">Notes: </td><td width="100%" class="notes">112 minutes</td>
or
<tr><td valign="top">Notes: </td><td width="100%" class="notes">1 hr 52 mins</td>
or
<tr><td valign="top">Notes: </td><td width="100%" class="notes">Video, 112 mins.</td>
or
<tr><td valign="top">Notes: </td><td width="100%" class="notes">Video, 1 hr 52 mins.</td>
This code
//Duration
curpos := Pos('<td valign="top">Notes: ' , HTML);
LogMessage('getting durations')
EndPos := PosFrom(' min', HTML, curPos);
curPos := EndPos - 2;
Tmp := IntToStr(StrToInt(Copy(HTML, curPos, 2)));
LogMessage('Duration: ' + Tmp);
If Tmp <> '' then AddFieldValue(mfDuration, Tmp);
in example 1 works only for first source code, the second source code and for the fourth source code, in example 2 works only for first source code, the second source code and for the fourth source code, but there appears only what is in minutes.
I wonder or it may be in one piece of code, if it is of course possible to do.