« first day (1501 days earlier)      last day (3670 days later) » 

14:06
19 messages moved to Trash
> If its private please mail me details to simbu.vishwa [at] gmail.com and tell your username , i will accept the bounty. (stackoverflow.com/questions/27083331/…)
@FlorianMargaine thanks
wurt?
Was just about to do that
@Vishnu just ask your question.
14:12
0
Q: Algorithm behind the direct video link of youtube

VishnuHi all i am just curious that how some website are able to get the direct link of youtube videos, For example i deciphered signature and able to download videos in localhost the link looks something like below https://r6---sn-h557snes.googlevideo.com/videoplayback?requiressl=yes&ms=au&sparams=gc...

i already set 50 bounty
i can give more
Check the network log in dev tools, and try to find the url which is loaded for the video. Then compare it with the actual page url. — Awal Garg 38 secs ago
I think I make sense...
yea yea this is not that easy
normal link we get in dev tools
but not docs.google.com link...
i used fiddler aswel..no use
there are scripts written in perl for this
python too
Nothing escapes your dev tools... not even porn urls.
firefox extension requests escapes :p
in dev tools
14:15
one of them doesn't work because the way youtube changed their url.
sure they don't.
and btw...there are many scripts which can download youtube videos....
i have coded one aswel
working fine
I got the url in 2 minutes....
but there are only few people who decoded link docs.google.com
14:16
#you fail
@AwalGarg be nice
you could maybe hit the contact us button in google docs and ask them. :D
@SecondRikudo fine... he kinda pinched me though.
@awal : you got what url ? :p
in 2 mins ?
14:18
@Vishnu direct url to mp4 from dev tools
I still didn't figure my issue out..
try to use that video link of some VEVO youtube videos in another IP adress
download will fail
...and just wrote the youtube url at clipconverter.cc, and it gave the exact same url.
@Vishnu give me youtube url first.
it wont :p signature attribbute will change
If anyone cares to help. My issue is that the remaining strings in the hold variable are supposed to be next to the right area just like in the paste at the top of the fiddle. jsfiddle.net/b9jfbbs5/3
14:20
@Vishnu dude... I am talking about the location at which the mp4 file resides. Not the query parameters.
@Vishnu I don't even understand the question
question is
i sent one youtube video
get direct link for this video that work on any IP..that is the issue..
@awal : you mean googlevideo.com ?
Ah, it's much clearer now :P
good @OliverSalzburg now decode and get the bounty
14:23
@Vishnu look at the urls closely. You will see they end with a range parameter. Set that from 0 to end of url, and you will get the entire video.
yea awal i can get that video links...it works fine :)
but problem with vevo videos..that link wont work in another IP adress...
it works for the video you just posted...
tip: order the requests in the dev tools by descending order of size of the content
yea it will work for ur ip
Take the first few, and see how the range parameter changes.
send that link to me
14:27
chat says "this message is too long", lemme paste the link somewhere
yea pastebin
why cant you change the url from youtube.com to youtu.be
how to make jQuery.isReady to be false as long as we desire in order to be able to test it...I guess in other words I want to test for the document ready event manually...
it used to work
it redirects to youtube.com
@awal ..u removed something
14:32
I be back
user2620028
welcome back
(I removed my ip address from it)
Anyone? >.<
@deostroll could you reformulate?
14:40
@Vishnu If you care... the js file html5video.js is fetching some data from some terribly long url. That data contains the data to get the actual data. Then that data is sent to another terribly long url, which gives that actual data. Then that actual data is sent to the google video server, which responds with the video data according to the range requested.
that range is broken into many pieces, I think this breaking is done according to user's connection speed etc. to facilitate streaming.
A direct request to that url with your cookies and IP address gives a 206 Partial content response. That Javascript file keeps requesting those ranges bit by bit to actually stream the video.
Seems pretty tedious task to me.
hey awal
this will fail
the one i sent is not protected
...try to get the url yourself this time.
yea i decoded the signature
i got the url
check my test website
it fetches , decodes signature for all videos and it gets downloaded
but i want to know how it coverted to docs.google.com links
user2620028
website doesn't work in my environment lmao
> please Wait retrieving download leaks , It may take upto 1 minute.
lol
14:45
just testing :p
@hatter :p where are u from
user2620028
Illinois
You are proxying the links eh?
yea i have to inorder to download vevo videos
but check this guy
he grabs docs.google.com links and no need to waste his server resource
@FlorianMargaine want to execute a function once when DOM is ready AND a particular library is loaded...if NOT queue it up and check for those two states after a specified interval and then execute...
@deostroll if the dom is ready, jquery.ready will be run right away
14:50
agreed. I want the function to execute only after those two conditions are met...
else it should wait for those two conditions...
@Vishnu I can't see the issue. Fetching from the google video servers would as well be the same thing. You just need to carve out the url, right?
The question was...how to simulate a jQuery.isReady = false long enough...
try changing googlevideo.com to docs.google.com..it wont work
i have no idea how he is fetching docs.google
why should I change?
did u see that guy link ? he dont have to proxy
i have to proxy
14:52
You don't own googlevideo.com, do you?
You don't need to proxy.
@deostroll what do you mean? add an event listener for both functions, have a counter somewhere, then if the counter has its max value, run what you want
you dont get me
since i scraped everything in my server it wont work for u
i have to provide download via server in order for u to donwload
@Vishnu it doesn't work for me
That is the url that "you" generated, right?
14:56
append that url to id
no i generated in my hosting server
22 mins ago, by Awal Garg
@Vishnu http://pastebin.com/j2fXZ1US try this
^Does this url work for you?
In node when someone use events.emit('A:b', some_data); that is literally developer convention for some sort of namespacing solution? I cant find anything about it in node documentation, so that is developer convention and not something that node implementation of events offer?
@Srle yes, it's developer convention
@FlorianMargaine check ^
no it wont work in my pc
14:57
var myFunc = function(){ console.log('my plugin specific code can execute now...'); };
$.bsReady(myFunc);

//myFunc should only execute post when the
//following two conditions are met, else it
//should wait for them:
//
// 1. DOM ready
// 2. My Library is loaded
oh yeah
because server ip is used to scrape those url
@deostroll pastebin or something similar, please
@FlorianMargaine good morninggggg
14:58
@Florian Margaine, then i can catch that event with events.on('A:b', function(data) {...});
and to with events.on('b', function(data) {...}); ?
and Not*
@deostroll did you start writing something for the bsReady function?
@SterlingArcher morning
@Vishnu pastebin.com/FbPFZqzC does this one work for you?
@awal
@Srle yes
@Srle try writing an event emitter
yea it works...
14:59
it's easy enough... I've written one in 20 lines
I dropped cupcakes on the bus this morning. It was pretty upsetting
how u got docs.google link :o
it'd let you understand how it works, @Srle
@SterlingArcher oh :(
well
can you provide me your example? jsbin or something
@Vishnu from the third listing in the dev tools
15:00
AT LEAST THEY'RE NOT IN YOUR BELLY, FATTIE!
third listing ?
what is that
@Srle no, I said "try writing an event emitter", not "try copying an event emitter"
34 mins ago, by Awal Garg
tip: order the requests in the dev tools by descending order of size of the content
^third listing from the list obtained by doing this
@FlorianMargaine thankfully I was the only one on the bus but I fell pretty hard lol Driver floored it and I had no hands to stabalize. Almost yelled at him but wasn't feelin it
15:01
But, how are y'all?
@AwalGarg : are u kidding me..that IP is from genyoutube.com
I want to test for the $.isReady part...individually
@Vishnu yes, so...?
i asked how did you get docs.google.com link
ahh I get it
15:02
Hmm...is that even possible?
u told dev tools
yea !!!!
I see I see
lemme check, hold on.
yupe
@Vishnu got it.
how :o
15:13
That guy takes the url.
Sends it to his server.
Then the server finds the url like you do from the dev tools.
But it has some cookies.
(on the server)
So he sends in the response, that url, as well as those cookies.
Now instead of you using your own cookies, you use the cookies he has supplied.
And thus, you are kinda faking your computer, as his server.
Clever trick, must say.
oh :D
so i must check the header of the response from the video ??
Ow not only this, the buttons to download those videos are also tricky. For one, they change the name of the file to the name of the video. This is because the google server sends all files with the name "videoplayback" lol.
doesnt matter about names
tell me what should i do ?
should i set the follow redirect on and get the header?
hey tell me your gmail or skype ID
or facebook ID
i gotta go immediately now
I am not really sure how exactly to do that. I would have to sit down writing PHP to get my head working on that.
We don't share our contact information like that.
You can ping me when you come back here later.
ok i will come to this room and ping you :)
i can give u 300 bounty
15:21
not needed
ok :) ill be back after 45 mins
...
@AwalGarg I think you're feeding a vampire a little too much
@SecondRikudo It was a good exercise which I enjoyed.
Is there a canonical question that answers how to use Array.filter()?
15:22
owwait
user1596138
@AwalGarg Who's we
not the feeding, I meant decoding those urls...
user1596138
We are legion for we are many
@Scimonster And if not, is one needed?
@Scimonster I'm not sure what you mean but the MDN is pretty thorough
15:24
@SterlingArcher I mean, for closing as duplicates of.
@Scimonster I don't think that we have one, no.
Why? Have you seen anyone ask?
If you just mean the basic 'what does this function do', there really shouldn't need to be a SO question for it.
I don't think that we need one.
"Please read the documentation on this function to me" isn't really a question. It's just laziness.
@Retsam No, the 'how do i filter an array' kind of question. I see one of those every so often.
@Retsam lol true
Why don't people come with such questions daily? :P
@SterlingArcher don't worry about it man. It doesn't concern you. — brso05 1 min ago
lmao
Why downvote the correct answer atleast say why? — brso05 47 secs ago
He's one of those people. :backs away slowly: (not my DV btw)
Who downvoted this? — brso05 41 secs ago
15:35
Well, putting "How do i filter an array in JavaScript?" into the question box yields several of these questions.
lol
@Scimonster Feel free to post a Q&A about it
Make it thorough, and we'll help you with duplicates.
@SecondRikudo That's my plan, i just wanted some confirmation if a) it exists and b) is needed. :)
It'll even probably push you towards 10k
@Scimonster Worst case, it exists, your answer is better, close the other as dupe of yours.
Just make sure the answer is really good ;)
Even if it exists, you can add another answer to same question, if you have anything better/more up-to-date.
Haven't found anything that looks canonical-worthy, so i'll go ahead and write it.
15:38
Sure, ping me when you're done with it ;)
!!cinnamon-nightly or wait for a month?
@AwalGarg wait for a month
0
Q: How do I turn off or disable a plugin while filtering content via javascript?

SkullomaniaI am using a plugin called Blocksit.js to organize div's in a pinterest style layout on a webpage. In my application I have combined this with a custom javascript filter in order to "Zero In" on specific items that my users may be looking for. Test page 1 is the layout that I am hoping to achieve...

@AwalGarg :
i am back
let me play with curl and find if i can get something
15:47
posted on November 25, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {}

Hi all. A question asking a javascript solution to add a similar row (clone) in a table before/after the row from which the clone-command (using 2 buttons in each row) originated was closed as duplicate of a jQuery question that asks how to append a table-row to the end of a table (noting that a html-string containing the row's content is ok). In my opinion it was at best related. I did search for a duplicate (before answering), suspecting there must be one, but I couldn't find one.
Shouldn't such a question be re-opened (and optionally closed again, but this time for a more valid duplicate)? Or was this the right course of action?
-1
Q: Append a new table row with JavaScript

XperSonaFollowing is the code to generate a table with input fields and buttons. <table id="myTable"> <tr> <td><input type="text" class="text1"></td> <td><input type="text" class="text2"></td> <td><input type="text" class="text3"></td> <td class="up"><button type=...

@GitaarLAB Mjolnir reopened.
$("#mytable").append("<table>");
wow, that was fast.. thx. Does that also answer my question if it was the right course of action?
sry i did not look ur question..lemme check
15:53
Since i'm still at it i'll just put it out here again. Guys after pasting the text block in the text area you'll notice 4 words above the button. I'm trying to get those next to the area just like in the paste, could anyone help me with that or at least give me an idea of how to do it? jsfiddle.net/b9jfbbs5/3
I've been playing around with substr and for loops but I just can't get it right
@AwalGarg : are u there ??
I'm off, thanks all and have a great day!
LOL wtf @SterlingArcher
Dude I'm crying. I honestly didn't see it coming, despite the t-shirt warning
inb4 phrasing
15:59
@SomeGuy Man thats great looking!
@SterlingArcher haha yeah I was laughing at his jiggles
@SterlingArcher lol at the comments
and that lady staring at him
> Hula Hoop Simulator 2014?

« first day (1501 days earlier)      last day (3670 days later) »