SKincinerate / gotube

Automatically exported from code.google.com/p/gotube
0 stars 0 forks source link

youtube2? not working #110

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
man is youtube not working or wat? 5.00 m33-6

Original issue reported on code.google.com by dannycer...@ymail.com on 19 Dec 2012 at 3:35

GoogleCodeExporter commented 8 years ago
Confirmed, YouTube script doesn't work

Original comment by qba.tu...@gmail.com on 27 Dec 2012 at 9:43

GoogleCodeExporter commented 8 years ago
is someone going to fix it?

Original comment by dannycer...@ymail.com on 27 Dec 2012 at 9:47

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Use this code...

100% Tested and Working

var YouTube = new Object();
YouTube.rev       = 1;
YouTube.SearchDesc    = "YouTube by Darby_Crash";
YouTube.Name      = "YouTube";
YouTube.Search    = function (keyword, page){
    var result = new Object();
    result.bypage    = 20;
    result.start     = (page-1)*result.bypage+1;
    var sortBy = "relevance";
    var catSpecified = false;

    if (keyword.charAt(0) == '$')
    {
        var keywordBu = keyword;
        var kpos = keyword.indexOf(" ");
        var category = keyword.substring(1, kpos);
        keyword = keyword.substring(kpos+1);
        catSpecified = true;
    }

    if (keyword.charAt(0) == '@')
    {
        sortBy = "published";
    }

    if (catSpecified == false)
    {
        c=GetContents('http://gdata.youtube.com/feeds/api/videos?q='+escape(keyword)+'&start-index='+result.start+'&max-results='+result.bypage+'&orderby='+sortBy+'&racy=include&v=1');  
    }
    else
    {
        c=GetContents('http://gdata.youtube.com/feeds/api/videos?q='+escape(keyword)+'&start-index='+result.start+'&max-results='+result.bypage+'&orderby='+sortBy+'&racy=include&category='+category+'&v=1');
    }

    result.total     = ext("<openSearch:totalResults>");
    result.VideoInfo = new Array();
    v = {attr:2};
    v.id = 0;
    v.Title = "YouTube Search Help";
    v.Description = "@query = search by upload date\n$category query = search in a category";
    v.URL = '';

    result.VideoInfo.push(v);
    while(p=c.indexOf("<entry",p)+1){
        v = {attr:2};//neither IDA|npp find this string ...0=RD 1= 2=SRD 3=S
        v.id            = ext("<id>http://gdata.youtube.com/feeds/api/videos/","</id>");
        v.Title         = ext("<title type='text'>");
        v.Description   = ext("content type='text'>")+'\nUploader:'+ext("<name>");
        v.CommentCount  = ext("countHint='")*1;
        v.Tags          = ext("keywords>").replace(/,/g,"");
        v.LengthSeconds = ext("ds='")*1;
        v.RatingAvg     = ext("average='")*1;
        v.RatingCount   = ext("numRaters='")*1;
        v.MylistCount   = ext("favoriteCount='")*1;
        v.ViewCount     = ext("viewCount='")*1;
        v.ThumbnailURL  = 'http://i.ytimg.com/vi/'+v.id+'/default.jpg';
        v.SaveFilename  = v.id+".flv";
        v.URL              = 'YouTube.play("'+v.id+'")';
        result.VideoInfo.push(v);
    }
    result.end       = result.start-1+result.VideoInfo.length;
    return result;
}
YouTube.play = function (id){
c=GetContents("http://www.youtube.com/watch?v="+id).ext('url_encoded_fmt_stream'
,'\u0026');p=0;
c=unescape(c);
ind=ext('_map=','=')+"=";
var regex = new RegExp(''+ind+'','g');
c=c.replace(/_map=/,"").replace(regex,"\n");
c=c.match(/(.+?)itag%3D5(.+)/);c=ind+c[0]+"&";c=c.replace(/,/g,"&");
url=c.match(/url=(.+?)\&/)[0].replace(/url=/,"").replace(/&/,"");url=unescape(ur
l);
sig=c.match(/sig=(.+?)\&/)[0].replace(/sig=/,"").replace(/&/,"");
host=c.match(/fallback_host=(.+?)\&/)[0].replace(/fallback_host=/,"").replace(/&
/,"");
url=url.match(/\/videoplayback?(.+)/)[0];
var link = "http://"+host+url+"&signature="+sig;
return link;
}
SiteList.push(YouTube);

Original comment by soulove...@gmail.com on 1 Jan 2013 at 1:16

GoogleCodeExporter commented 8 years ago
thanks gotube is the best app ever

Original comment by dannycer...@ymail.com on 2 Jan 2013 at 2:34

GoogleCodeExporter commented 8 years ago
thanks! this works!

Original comment by emma.pi...@gmail.com on 3 Jan 2013 at 11:51

GoogleCodeExporter commented 8 years ago
Thanks, it works on PSP 1003, 6.60 PRO-C. But on HQ videos liek Gangnam Style. 
the videos play weirdly? Like its black with these pink, yellow and blue 
stripes? How to make a HQ video like in 240p?

Original comment by Certifie...@gmail.com on 21 Jan 2013 at 5:11

GoogleCodeExporter commented 8 years ago
where should i put those code in my gotube folder help please?

Original comment by keragamm...@gmail.com on 23 Jan 2013 at 9:03

GoogleCodeExporter commented 8 years ago
You must edit the youtube.js file with notepad, delete the existing code, paste 
the one above and save it.

Original comment by el3m3n...@gmail.com on 3 Feb 2013 at 3:33

GoogleCodeExporter commented 8 years ago
Just signed up to thank you "soulove...@gmail.com", it works! I'm so happy 
right now! thanks!!

Original comment by kuza21...@gmail.com on 22 Feb 2013 at 5:45

GoogleCodeExporter commented 8 years ago
Can I just ask why this happens? I know it's probably because of all the 
YouTube updates, but what did you change in the code?

Original comment by videomak...@gmail.com on 23 Mar 2013 at 11:44

GoogleCodeExporter commented 8 years ago
soulove...@gmail.com, I FREAKING LOVE YOU SO MUCH BECAUSE YOU ARE THE BEST

Original comment by StealerS...@gmail.com on 18 Apr 2013 at 12:41

GoogleCodeExporter commented 8 years ago
YOU.ARE.MY.SAVIOR!!!.
SERIOUSLY, THANKS!!!! :DDD

Original comment by Eduardo....@gmail.com on 30 May 2013 at 8:46

GoogleCodeExporter commented 8 years ago
Not working for me

Original comment by Clonetro...@yahoo.com on 10 Jun 2013 at 7:14

GoogleCodeExporter commented 8 years ago
App loads without getting a javascript load error, but no results are returned 
when searching for youtube videos.

Original comment by pangelov...@gmail.com on 31 Jul 2013 at 12:35

GoogleCodeExporter commented 8 years ago
For one I thank you for making youtube work on gotube. It works flawlessly, but 
the problem for me was that when I play the video it shows these wierd to no 
colors as they were graywashed or something please update the script

Original comment by james.ha...@gmail.com on 28 Aug 2013 at 7:41

GoogleCodeExporter commented 8 years ago
still does not work finds results but wont play file

Original comment by homerhur...@gmail.com on 29 Dec 2013 at 9:05

GoogleCodeExporter commented 8 years ago
hey I download the update but when went to play a video the green light on psp 
would not flash did I do something worng

Original comment by timbiz1...@gmail.com on 13 Jan 2014 at 3:56

GoogleCodeExporter commented 8 years ago
Mine starts to load. black screen green text. then go's to this root menu of my 
PSP where it just options for opening folders on my PSP. And thats after the 
above script fix has been done.

Original comment by aaronwes...@gmail.com on 30 Jan 2014 at 5:44

GoogleCodeExporter commented 8 years ago
ı

Original comment by oguler...@gmail.com on 31 Jan 2014 at 7:35

GoogleCodeExporter commented 8 years ago
finally i fixed it thanks a lot... but still i have several glitches that i can 
see only in black and white colors and also i can find multiple colored stripes 
on screen whenever i play videos. could make an update please?

Original comment by gntkdd...@gmail.com on 27 Feb 2014 at 6:00

GoogleCodeExporter commented 8 years ago
wroked fine 2 days ago but now videos wnt play, can som1 update da youtube 
script and/or show me how to get scripts

Original comment by kurdkin...@gmail.com on 2 Mar 2014 at 3:41

GoogleCodeExporter commented 8 years ago
Doesn't work anyomore for some reason. Videos won't play. I'm sad.

Original comment by ArnoldKe...@gmail.com on 2 Mar 2014 at 6:47

GoogleCodeExporter commented 8 years ago
I can confirm, YT script doesn't work

Original comment by qba.tu...@gmail.com on 3 Mar 2014 at 7:38

GoogleCodeExporter commented 8 years ago
can someone fix?

Original comment by dannycer...@ymail.com on 4 Mar 2014 at 8:07

GoogleCodeExporter commented 8 years ago
gotube is not working for me no more

Original comment by castanon...@gmail.com on 8 Mar 2014 at 12:34

GoogleCodeExporter commented 8 years ago
Not Working. 09/03/14

Original comment by elgatoga...@hotmail.com on 9 Mar 2014 at 9:38

GoogleCodeExporter commented 8 years ago
my gotube video won't play why. but can find video!

Original comment by hangze....@gmail.com on 19 Mar 2014 at 8:45

GoogleCodeExporter commented 8 years ago
hey need a new script please...

Original comment by xkcxkis...@gmail.com on 24 Mar 2014 at 5:10

GoogleCodeExporter commented 8 years ago
please a new script

Original comment by dawid.we...@gmail.com on 27 Mar 2014 at 9:04

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
can you guys give me the gotube? it's not working for me!

Original comment by hangze....@gmail.com on 27 Mar 2014 at 9:51

GoogleCodeExporter commented 8 years ago
Please fixed 

Original comment by leon2002...@gmail.com on 30 Mar 2014 at 2:40

GoogleCodeExporter commented 8 years ago
hey fix it please no matter wat keep fixing the scripts someone some were 
always uses them gotube please fix broke again?! 3/30/14?!

Original comment by fernando...@gmail.com on 30 Mar 2014 at 7:18

GoogleCodeExporter commented 8 years ago
yep i was try many times but it's not working?

Original comment by hangze....@gmail.com on 30 Mar 2014 at 11:15

GoogleCodeExporter commented 8 years ago
this didnt work

Original comment by chidobem...@gmail.com on 1 Apr 2014 at 1:07

GoogleCodeExporter commented 8 years ago
Tested and Garunteed !00% junk

Original comment by chidobem...@gmail.com on 1 Apr 2014 at 1:27

GoogleCodeExporter commented 8 years ago
It doesn't work here neither ^^' The search list appears but the video will not 
load when selected

Original comment by mikijo...@gmail.com on 27 Apr 2014 at 9:40

GoogleCodeExporter commented 8 years ago
i was copy that. but i opened gutube watch video,time always 00;00 can not
watch and i waiting 10 min, i was try again!

Original comment by hangze....@gmail.com on 27 Apr 2014 at 9:17

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
New YOUTUBE script
A developer of Japan makes it
There was the animation which was not seen
Thank you very much for your advice.

Original comment by tommyand...@gmail.com on 30 Apr 2014 at 6:58

Attachments:

GoogleCodeExporter commented 8 years ago
great thank you but the screen is black and white can you fix it?

Original comment by Schlemm...@googlemail.com on 1 May 2014 at 9:44

GoogleCodeExporter commented 8 years ago
i think we must change this ,result start max_result, but i dont know what i 
should paste in is there anywhere a good coder how can change it?

Original comment by Schlemm...@googlemail.com on 1 May 2014 at 9:49

GoogleCodeExporter commented 8 years ago
no sry i said crap but anyway can anybody fix this fast?

Original comment by Schlemm...@googlemail.com on 1 May 2014 at 12:26

GoogleCodeExporter commented 8 years ago
the problem is the resolution of the vids cuz the vids are in hq but psp cant 
play hq vids? is there anywhere a good coder?

Original comment by Schlemm...@googlemail.com on 1 May 2014 at 12:31

GoogleCodeExporter commented 8 years ago
Will the code  from the begining of this site work today?

Original comment by lsforeve...@googlemail.com on 1 May 2014 at 1:32

GoogleCodeExporter commented 8 years ago
no idea but i dont think so but the new one works can you fix the black and 
white screen problem ? 

Original comment by Schlemm...@googlemail.com on 1 May 2014 at 4:07

GoogleCodeExporter commented 8 years ago
Not yet cause im busy with my new programm

Original comment by lsforeve...@googlemail.com on 1 May 2014 at 6:47

GoogleCodeExporter commented 8 years ago
oh sry but i think you dont know how many people are waiting on a fix of this 
problem because there arent many coders out there who can fix this problem 
soooo please try to fix it pleaseeee:) oh sry I'm like a little child :D

Original comment by Schlemm...@googlemail.com on 1 May 2014 at 8:29

GoogleCodeExporter commented 8 years ago
gotube youtube JS update 2014 ... um mocinho do youtube atualizo script . e 
funcionou ...  http://www.youtube.com/watch?v=S_LxiGyDynY    
e so copiar  a pasta youtube.js ... new 2014

Original comment by ryuken00...@gmail.com on 5 May 2014 at 4:24