Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
VBKeepLink GoogleVideo, Metacafe, Youtube ... Get Video Download Link Details »»
VBKeepLink GoogleVideo, Metacafe, Youtube ... Get Video Download Link
Version: 1.00, by lebanon lebanon is offline
Developer Last Online: Jan 2014 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.1 Rating:
Released: 09-29-2006 Last Update: Never Installs: 56
 
No support by the author.

This is a simple Get Download Link for some popular Video Websites , as requested in

https://vborg.vbsupport.ru/showthread.php?t=126822
Anyhow, am trying to add more everyday , but i actually used sites i know of or use so far.
Supported Sites So Far :
// video.google.com, result = avi
// youtube.com, result = flv
// metacafe.com, result = flv
// grouper.com, result = flv
// dailymotion.com, result = flv
// vsocial.com, result = flv
// thatvideosite.com, result = wmv
added 03 October
//myvideo.de , result =flv

demo of keeplink
http://www.tchatting.com/forum/allvideos.php

To use : Upload files, import XML ,
Change the two instances of URL.com/ForumDir in the two files allvideos.php and watchallvideos.php
Link to the page,
Your done.


The dvid.php file enables you for more advanced options such as :
Taged Lines with //header , if you remove the // , it will enable auto download of link
posted upon submission for end user.


More extended usages can be done with the files source codes ,a sample is included
and the rest is up to your imagination.!
Sample of extended usages :
Using the internal Rss Poster in Vbulletin
Go to add new rss feed :
Example :
Feed is Enabled :
Title : Metacafe
URL : http://www.metacafe.com/rss/new_videos.rss

Choose minutes / posts / Forum to post to / poster username

Keep Convert Html to BBCODE
title :
{rss:title}
Body template :
{rss:description}

[URL="http://www.YOURLINK/forum/watchallvideos.php?url={rss:link}"]Watch or Download This Video Free on our website[/URL << close this with a ]


MAKE SURE YOU REPLACE THE URL WITH YOUR ACTUAL LINK

Thats pretty much it , you can test the feeds and how they look like .
Ofcourse this is just a sample , you can adjust to your needs.
Sample Post :
http://www.tchatting.com/forum/video...-new-post.html
Note: For RSS images to show in VB OPTIONS : Message posting and editing options : Allow Dynamic URL for [IMG] Tags : YES

If u use this kindly click INSTALL


SORRY EVERYONE I UPDATED THE ZIPFILE , I HAD IT UPLOADED WITHOUT TEH DVID.PHP FILE

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 10-04-2006, 10:12 AM
bonjurkes bonjurkes is offline
 
Join Date: Nov 2005
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i tried to get download link for one of the youtube videos from your demo site.

It give me an url for downloading, but it gives error while trying to download and when i try to visit that link, it says page cannot be found.

i guess there are some bugs at hack.
Reply With Quote
  #33  
Old 10-04-2006, 03:19 PM
Breathex Breathex is offline
 
Join Date: Oct 2004
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in my forum at /watchallvideos.php page i can only watch youtube videos, other sites links are not working. any solution or advice to solve this problem?
Reply With Quote
  #34  
Old 10-04-2006, 04:40 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having similar issues, for now this hack is being uninstalled until it's out of (in my opinion) beta.
Reply With Quote
  #35  
Old 10-06-2006, 10:54 PM
iran.gs iran.gs is offline
 
Join Date: Jul 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this works perfect, i just need some more rss beside metacafe anyone ?
Reply With Quote
  #36  
Old 10-07-2006, 03:40 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this play videos from my video portal:

video.f-bodyhideout.com

?

Thanks,
Mark
Reply With Quote
  #37  
Old 10-07-2006, 07:45 PM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi all ,
sorry for not being able to respond earlier ..
First thanks for everyone who installed and enjoyed the hack, second for the beta mark , it will never be removed for two reasons .
This hack is more of a source code, that can be modified and actually it will occasionaly need to. Why ?
Simple answer, sites like metacafe, google, youtube or others keep changing their video formats, and links because of people linking to videos directl like us ! yes we love free stuff and we love leeching but thats not what they love us to do , thus updates cannot run off, and in the same time, even if am not here to update, since the code is clear and open, it allows any coder with my permission to update the links of the hack or source code of curl functions to suit changes and re-distribute the code freely and ofcourse share back with updates.
Again, because there is not only one single use of the source code, i only gave two examples of how i used it in mypages ... which mean, the dvid.php is actually the base file for all your actions...
My hack is exactly what i use, plus providing you the ability to use more and more, even better, if you suggest an idea and in my free time i would be able to do it for you , or maybe you are a better coder and can share us back with more of this !.
As for RSS feeds requested there simply listed on respective sites , now note that for the example i provided , does play youtube , metacafe and few others not because it cannot play others in concept, its because its an FLV player , so for google you need to add avi player , for wmv you need to add wmv code, its all simple to add and integrate , and probably later ill provide you with files and conditions for each single site.
Last note for smoknz, no its not made except for specific sites but again, it can be arranged to do any site ! if you wish it to be added for public, you can request that and if you wish it to be used for you ONLY you can use the same concept to integrate yours. Regards all
Reply With Quote
  #38  
Old 11-04-2006, 06:22 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for sharing this code with the rest of us.

However, this isn't working with YouTube.

Here's a link I'm trying to get: http://www.youtube.com/watch?v=I_9DuNXkMAc

Maybe they've changed their code since you wrote this.
Reply With Quote
  #39  
Old 03-09-2007, 12:57 PM
Immortal_Shades's Avatar
Immortal_Shades Immortal_Shades is offline
 
Join Date: Oct 2006
Location: South Florida
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My question is how does this work and what good is this release with the Dvid.php file?
That's like giving us ice cream without the spoon to eat it.

I instaled it but maybe I am doing something wrong because I put in a url and get nothing and no response at all, whereas I know its on the video server.
Reply With Quote
  #40  
Old 08-25-2007, 09:44 PM
serkan serkan is offline
 
Join Date: Mar 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /watchallvideos.php on line 31

Warning: include(http://*****/dvid.php?url=http://you...?v=JsD6uEZsIsU) [function.include]: failed to open stream: no suitable wrapper could be found in /watchallvideos.php on line 31

Warning: include() [function.include]: Failed opening 'http://*****/dvid.php?url=http://youtube.com/?v=JsD6uEZsIsU' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /watchallvideos.php on line 31
i got this error how can i fix it ?
thanks for plugin
Reply With Quote
  #41  
Old 09-07-2007, 10:27 AM
Sitting's Avatar
Sitting Sitting is offline
 
Join Date: Jul 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a simple update for download Youtube videos with new links and regions....

Modify dvid.php

search:
Code:
// youtube.com, result = flv
if(preg_match("/http:\/\/(www\.)?youtube\.com\/watch\?v=([a-zA-Z0-9_]*)/i", $url, $sub)) {
	$c = curl_init();
	curl_setopt($c, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
	curl_setopt($c, CURLOPT_URL, $url);
	curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
	$result = curl_exec($c);
	curl_close($c);

	if(preg_match("/watch_fullscreen\?video_id=([0-9a-zA-Z]*)&l=[0-9]*&t=([0-9a-zA-Z\-]*)/i", $result, $d_link)) {
		//header(sprintf("Location: http://cache.googlevideo.com/get_video?video_id=%s&t=%s", $d_link[1], $d_link[2], $d_link[3]));
		printf("http://cache.googlevideo.com/get_video?video_id=%s&t=%s", $d_link[1], $d_link[2], $d_link[3]);
		exit();
	}
}
Replace with:
Code:
// youtube.com, result = flv
if(preg_match("/http:\/\/([a-z]*.)?youtube\.com\/watch\?v=([a-zA-Z0-9_%-]*)/i", $url, $sub)) {
	$c = curl_init();
	curl_setopt($c, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
	curl_setopt($c, CURLOPT_URL, $url);
	curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
	$result = curl_exec($c);
	curl_close($c);

	if(preg_match("/watch_fullscreen\?video_id=([a-zA-Z0-9_%-]*)&l=[0-9]*&t=([a-zA-Z0-9_%-\-]*)/i", $result, $d_link)) {
		//header(sprintf("Location: http://cache.googlevideo.com/get_video?video_id=%s&t=%s", $d_link[1], $d_link[2], $d_link[3]));
		printf("http://cache.googlevideo.com/get_video?video_id=%s&t=%s", $d_link[1], $d_link[2], $d_link[3]);
		exit();
	}
}
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:18 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05616 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete