Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Allowed file types: gif, jpg, png, txt, tpl, lng, ini, pvd, psf, ini, cfg, csv, zip, xml, pas, 7z
Restrictions: 4 per post, maximum total size 1024KB, maximum individual size 1024KB
Note that any files attached will not be displayed until approved by a moderator.
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the best video database software?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Ivek23
« on: June 19, 2011, 03:14:40 pm »

Ibs.it script: url does not work (do not pass the url address)

For each data search is required for each movie whose information you are looking for is again necessary confirm the movie title, whereas for every search URL address is not transfer.

This code

Code: [Select]

//Get URL
 EndPos := Pos('" content="index,follow">', HTML);
 if EndPos > 0 then begin
  curPos := PrevPos('" href="', HTML, EndPos);
  EndPos := Pos('">', HTML);
  AddFieldValue(mfURL, Copy(HTML, curPos + 8, EndPos - curPos - 8));
 end else
  AddFieldValue(mfURL, MovieURL);


I replaced with this code

Code: [Select]
//Get URL
 EndPos := Pos('"><meta name="robots" content="index,follow">', HTML);
 if EndPos > 0 then begin
  curPos := PrevPos('" href="', HTML, EndPos);
  AddFieldValue(mfURL, Copy(HTML, curPos +8, EndPos - curPos -8));
 end else
  AddFieldValue(mfURL,  MovieURL);


and URL title it is now to write and act, I tested a few movies, there is work properly.
Posted by: Ivek23
« on: June 11, 2011, 01:37:11 pm »

Ibs.it script: url does not work (do not pass the url address)

For each data search is required for each movie whose information you are looking for is again necessary confirm the movie title, whereas for every search URL address is not transfer.
anything