Comments (13)
show me what you've done , i'll try to search the problem ;)
Original comment by [email protected]
on 20 Jan 2011 at 7:25
from gotube.
[deleted comment]
from gotube.
[deleted comment]
from gotube.
var Motherless = new Object();
Motherless.rev = 1;
Motherless.SearchDesc =
Motherless.Name = "Motherless";
Motherless.Search = function (keyword, page){
var result = new Object();
result.bypage = 15;//static
result.start = (page-1)*result.bypage+1;
c=GetContents('http://motherless.com/search/videos?search='+escape(keyword)+'/'+page);
result.total = -1;
result.VideoInfo = new Array();
while(p=c.indexOf("<item>",p)+1){
video = new Object();
video.attr = 3;
video.LengthSeconds = 0;//not provided
video.Title = ext("<title>");
video.Description = ext("<itunes:summary>");
video.RatingAvg = ext("<dm:videorating>")*1;
video.RatingCount = ext("<dm:videovotes>")*1;
video.ViewCount = ext("<dm:views>")*1;
video.CommentCount = ext("<dm:comments>")*1;
video.MylistCount = ext("<dm:favorites>")*1;
video.id = ext("<dm:id>");
video.ThumbnailURL = ext('<media:thumbnail url="');
video.Tags = ext("<itunes:keywords>").replace(/,/g,"");
video.SaveFilename = video.Title+'.flv';
video.URL = 'unescape(GetContents("http://www.motherless.com/'+video.id+'").match(\'"video", "(.*?)%40\')[1])';
result.VideoInfo.push(video);
}
result.end = result.start-1+result.VideoInfo.length;
return result;
}
SiteList.push(Motherless);
lol... At least I tried. :(
Original comment by [email protected]
on 20 Jan 2011 at 8:09
from gotube.
it shoul do the trick (not tested) :
var Motherless = new Object();
Motherless.rev = 1;
Motherless.SearchDesc =
Motherless.Name = "Motherless";
Motherless.Search = function (keyword, page){
var result = new Object();
result.bypage = 41;//static
result.start = (page-1)*result.bypage+1;
c=http://motherless.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.ThumbnailURL = ext('url(');
video.ViewCount = ext('right ellipsis">',' ')*1;
video.URL = 'GetContents('+video.id+').ext("flashvars\',\'file=","&")';//
result.VideoInfo.push(video);
}
result.end = result.start-1+result.VideoInfo.length;
return result;
}
SiteList.push(Motherless);
Original comment by [email protected]
on 20 Jan 2011 at 10:56
from gotube.
Thank you very much!
But when I load gotube, I get the following error.
"JavaScript load error ms0:/psp/game/gotube/site/motherless.js"
I looked over the script, but don't see any issues. Do you know the problem?
Thank you for helping me :)
Original comment by [email protected]
on 21 Jan 2011 at 1:41
from gotube.
oups , i forgot to write "GetContents(" on the 9th line ^^
Original comment by [email protected]
on 21 Jan 2011 at 2:14
from gotube.
Thank you, I edited the 9th line as advised and it works now. :)
Only, issue is that the videos don't load.
Original comment by [email protected]
on 21 Jan 2011 at 2:42
from gotube.
Maybe this line is wrong?
video.URL =
'GetContents('+video.id+').ext("flashvars\',\'file=","&")';//
Original comment by [email protected]
on 21 Jan 2011 at 2:52
from gotube.
Okay I edited the line, but it still doesn't work. I don't think it's getting
the "video id" for the video.
video.URL =
'GetContents("http://motherless.com/'+video.id+'").ext("flashvars\',\'file=","&"
)';//
Original comment by [email protected]
on 21 Jan 2011 at 3:02
from gotube.
file added to biscotte repository
Original comment by [email protected]
on 21 Jan 2011 at 8:08
from gotube.
Merci beaucoup!
I'm trying to match the motherless.js code for thumbnails, with pornhub.js
because both sites use animated thumbnails. The thumbnails for motherless,
depending on the video, show 3 - 4 compressed pictures as the thumbnail.
Motherless: video.ThumbnailURL = ext('url(');
Pornhub: video.ThumbnailURL = ext('src="',"?");
Any ideas?
Original comment by [email protected]
on 21 Jan 2011 at 3:09
from gotube.
Original comment by [email protected]
on 6 Mar 2011 at 2:00
- Changed state: Done
from gotube.
Related Issues (20)
- youtube.js stopped working HOT 1
- GoTube Help!!!! HOT 1
- Patch for /trunk/biscotte/DailyMotion.js
- Black and White screen problem!
- Playing videos
- WE NEED NEW YOUTUBE SCRIPT! HOT 38
- Dailymtion anyone can fix it for 5.50 gen d3 pls help me and make any pakistani site tune.pk etc pls bros i need your help!!!!!!!!
- Enter one-line summary
- So Thee "So-Called" "Gotube" has the "So-Called" "Youtube.js" outdated i want a new file HOT 3
- youtube problem HOT 2
- 132!!!! :Made a new Go-Tube Script!!! HOT 14
- Please update the gotube or make the dailymotion working on psp 2000 6.61 system
- UPDATE THE DAILYMOTION FOR 6.61 SYSTEM TIMMER 00:00 BLACK SCREEN HOT 1
- Youtube first slot shows Support of Device HOT 2
- !Experimental! : try this script i made, tell me if it works or not! HOT 19
- Device Support HOT 2
- We have some known issues with hg repositories. (gotube 1.3?)
- Can't get ever youtube result list
- psp Crashes on gotube loading screen
- I could try to make a homebrew but I need people
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gotube.