Jump to content

Render a website on sever side and return a value.


y2kbug

Recommended Posts

[CODE]<a href="#" onclick="this.href=unescape(document.getElementById(\'VideoPlayback\').src.match(/videoUrl=([^$)]*)/)[1]);this.firstChild=\'Download Flash Video\';return false;" style="color:#FFFFFF; font-weight:bold; font-size:10px;">Find Flash Video</a>[/CODE]

That code is part of a plugin for firefox that makes a link to the actual download path(to download the .flv).

I will do anthing it takes to make this code work from a remote website and return the download address without having to refresh.

I want it to then download the movie to a sever, whitch i do have authorazation for, but i could figure that out on my own as long i can get this part to work.


This is my first time posting at this forum and I am new to web design i hope you guys will be able to help me along with this

I know it can be done, maybe not with this code but something similar check out
[url=http://www.videodl.org/]http://www.videodl.org/[/url]
i want it to do that but instead of giving a link, have it download the file to my server.

ps i have been trying for 4 days now but i still dont know where to start other that i need to use a server side script

thank you
~zak~
Link to comment
Share on other sites

I posted this exact same post I the javascript forum and someone told me to post it in the php forum, so thats why I posted here.
They said to leave the old thread there so people know that you need php to do this. I looed for it now but that thread seemed to have been deleted.

I want it to use that code, or something to the same affect, to find the absolute download link to a google video as they do on www.videodl.org I think they use ajax, but I dont have a clue how to impliment that on my site or for that matter how to use ajax at all, I have been reading the basics about in the last few days tho.
Link to comment
Share on other sites

It works if it is placed on the google page via a browser plugin.
I want to be able to get the download link from a supplyed google video url from a remote website.
Did you take a look at http://www.videodl.org/   Obviously the code I supplied will not do that by itself!, not unless it is, at least, somewhat adapted.
Link to comment
Share on other sites

wow ok i been working on this all day. I found some source code for an ajax script including js, php and more. If i try it on my site in the oridginal for i get a parse error. I didnt try that until i hav taken ot alot of html stuff and i got a notice.

this code shows up right but i get this notice: "Notice: Undefined variable: url in /www/110mb.com/z/f/i/l/e/s/_/_/zfiles/htdocs/extensions/PageMng/default.php(802) : eval()'d code on line 89"

it doesnt work either.

here is the original site: http://video.qooqle.jp/dl/ it offers the source code.

thanks guys for all the replys so far ;D
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.