Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new script help plz #32

Open
GoogleCodeExporter opened this issue Aug 24, 2015 · 28 comments
Open

new script help plz #32

GoogleCodeExporter opened this issue Aug 24, 2015 · 28 comments

Comments

@GoogleCodeExporter
Copy link

i tryed making a script for efukt using motherless script as a base and changed 
what i think needed to be changed and i added to site list on ms and gotube 
loads up fine but the site is not listed in top bar when going through 
available sites
script below if any1 can have a look and tell me where i gone wrong plz

var efukt = new Object();
efukt.rev        = 1;
efukt.SearchDesc =
efukt.Name       = "Motherless";
efukt.Search     = function (keyword, page){
 var result = new Object();
 result.bypage    = 20;//static
 result.start     = (page-1)*result.bypage+1;
 c=GetContents('http://efukt.com/search/videos?page='+page+'&search='+escape(keyword));
 result.total     = -1;
 result.VideoInfo = new Array();
 while(p=c.indexOf("thumbnail-img-wrap",p)+1){
  video = new Object();
  video.attr          = 3;
  video.id            = ext('<a href="');
  video.Title         = ext('title="');
  video.ThumbnailURL  = ext('url(');
  video.ViewCount     = ext('right ellipsis">',' ')*1;
  video.URL           = 'p=0;GetContents("'+video.id+'").ext("flashvars\',\'file=","&")';
  result.VideoInfo.push(video);
 }
 result.end       = result.start-1+result.VideoInfo.length;
 return result;
}
SiteList.push(efukt);


Original issue reported on code.google.com by mark.web...@gtempaccount.com on 7 Mar 2011 at 12:12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant